Click here to Skip to main content
15,904,503 members
Home / Discussions / C#
   

C#

 
GeneralRe: NumericUpDown Problem Pin
Christian Graus24-Aug-05 12:47
protectorChristian Graus24-Aug-05 12:47 
GeneralRe: NumericUpDown Problem Pin
wjr-itt24-Aug-05 13:42
wjr-itt24-Aug-05 13:42 
GeneralRe: NumericUpDown Problem Pin
Christian Graus24-Aug-05 13:50
protectorChristian Graus24-Aug-05 13:50 
GeneralRe: NumericUpDown Problem Pin
wjr-itt24-Aug-05 13:58
wjr-itt24-Aug-05 13:58 
GeneralRe: NumericUpDown Problem Pin
Christian Graus24-Aug-05 14:06
protectorChristian Graus24-Aug-05 14:06 
GeneralRe: NumericUpDown Problem Pin
wjr-itt24-Aug-05 14:16
wjr-itt24-Aug-05 14:16 
GeneralRe: NumericUpDown Problem Pin
Christian Graus24-Aug-05 14:23
protectorChristian Graus24-Aug-05 14:23 
GeneralRe: NumericUpDown Problem Pin
wjr-itt25-Aug-05 4:00
wjr-itt25-Aug-05 4:00 
I discovered a problem with my workaround of using the Text property of the NumericUpDown to retrieve the correct value that is displayed by the control. In my simple example that I posted, accessing .Text worked fine. In my real, more complex app, accessing .Text in the button click handler caused the NumericUpDown to continue to display the wrong value (wrong number of decimal places) and the value returned by .Text was incorrect too. My workaround for this was to create a Validated handler for the NumericUpDown that did nothing more than assign the Value attribute to a variable and do nothing else with it. As long as .Value is accessed before anything else accesses .Text, things seem to be OK.

wjr@itt OMG | :OMG:
GeneralGRAPHICS IN C# and ASP.net Pin
Anonymous24-Aug-05 12:08
Anonymous24-Aug-05 12:08 
GeneralRe: GRAPHICS IN C# and ASP.net Pin
Christian Graus24-Aug-05 12:45
protectorChristian Graus24-Aug-05 12:45 
GeneralAccessing parts of identical use controls Pin
Mikan2324-Aug-05 11:35
Mikan2324-Aug-05 11:35 
GeneralRe: Accessing parts of identical use controls Pin
rudy.net24-Aug-05 17:03
rudy.net24-Aug-05 17:03 
GeneralRe: Accessing parts of identical use controls Pin
Mikan2324-Aug-05 19:21
Mikan2324-Aug-05 19:21 
Generalgetting partial url Pin
philly_dan24-Aug-05 11:19
philly_dan24-Aug-05 11:19 
GeneralRabbi Plotkin's Continuous Form Pin
cgweaver24-Aug-05 10:29
cgweaver24-Aug-05 10:29 
GeneralWeek of month Pin
ehuysamer24-Aug-05 9:49
ehuysamer24-Aug-05 9:49 
GeneralRe: Week of month Pin
Christian Graus24-Aug-05 11:02
protectorChristian Graus24-Aug-05 11:02 
GeneralStopping a dialog Pin
dicas24-Aug-05 9:49
dicas24-Aug-05 9:49 
GeneralRe: Stopping a dialog Pin
Christian Graus24-Aug-05 11:08
protectorChristian Graus24-Aug-05 11:08 
GeneralRe: Stopping a dialog Pin
dicas24-Aug-05 16:53
dicas24-Aug-05 16:53 
GeneralRowFilter Pin
zaboboa24-Aug-05 9:30
zaboboa24-Aug-05 9:30 
GeneralRe: RowFilter Pin
rudy.net24-Aug-05 17:05
rudy.net24-Aug-05 17:05 
Generalmodal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
misterbear24-Aug-05 8:51
misterbear24-Aug-05 8:51 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
Dave Kreskowiak24-Aug-05 9:08
mveDave Kreskowiak24-Aug-05 9:08 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
Tom Larsen24-Aug-05 9:17
Tom Larsen24-Aug-05 9:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.