C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 04-23-2003, 01:39 AM   #1
Registered User
 
Join Date: Feb 2002
Posts: 24
NumericUpDown Control

Hi There


I have a problem with this control.

Everything works fine as long as I change its value via the up/down scroll buttons. But when I change its value manually, the previous value is retauned- the changes are not saved.


Help!

Thanks

Goz
__________________
And if you get no joy from music hall
Remember there is always alcohol
And If you get no joy from Gin
Here is the abyss jump in
gozlan is offline   Reply With Quote
Old 04-23-2003, 07:55 PM   #2
Registered User
 
dragunsflame's Avatar
 
Join Date: Jan 2003
Posts: 8
I've never heard of this...of course, I've never used this particular control either.

What I would do (I don't know if that's good enough or not) is to set up an event handler for the control's TextChanged event. In the handler, use something like

Code:
MyUpDownControl.Text = MyUpDownControl.Text;
Maybe that'll force it to change. I dunno.
dragunsflame is offline   Reply With Quote
Old 04-25-2003, 06:56 AM   #3
Registered User
 
Join Date: Feb 2002
Posts: 24
Upand Down Control

No, it didn;t do the trick . Maybe I better post it in a VB forum as well, ha? They know their controls don't they...


Thanks for your help!

Goz
__________________
And if you get no joy from music hall
Remember there is always alcohol
And If you get no joy from Gin
Here is the abyss jump in
gozlan is offline   Reply With Quote
Old 04-26-2003, 07:15 PM   #4
the hat of redundancy hat
 
nvoigt's Avatar
 
Join Date: Aug 2001
Location: Hannover, Germany
Posts: 2,769
I never had such problems, could you post a piece of code to demonstrate what you mean ?
__________________
hth
-nv

She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

When in doubt, read the FAQ.
Then ask a smart question.
nvoigt is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
(Multiline) Edit Control Limit P4R4N01D Windows Programming 9 05-17-2008 11:56 AM
line number on a rich edit control rakan Windows Programming 1 02-18-2008 07:58 AM
Button handler Nephiroth Windows Programming 8 03-12-2006 06:23 AM
very weird .h problem royuco77 C++ Programming 1 09-11-2005 07:55 AM
Tab Controls - API -KEN- Windows Programming 7 06-02-2002 09:44 AM


All times are GMT -6. The time now is 02:27 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22