TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tim Reiter
NA
8
0
Having trouble refreshing the display of a NumericUpDown control
Mar 13 2008 8:24 PM
Hi All,
I'm having a problem with a NumericUpDown control. If the user highlights the number and hits the backspace key the number is, of course, erased. If the user then goes to another control in the dialog box, the number is still not displayed in the NumericUpDown. The value is still there - if the user hits the up or down arrows the number is incremented or decremented and is displayed correctly.
I tried to fix this by declaring a Leave event handler that does something to redraw or otherwise update the NumericUpDown display whenever it looses focus. I first tried using the Refresh() method, but that did nothing. I then tried calling Hide() followed immediately by Show(), and that also did't fix the problem.
Anyone know what I could do to make this work right?
Thanks!
Reply
Answers (
3
)
In need of a Senior level C# Developer in Raleigh, NC!
compare 2 dates