|
-
January 31st, 2010, 11:45 PM
#1
Numeric updown - assign values to variables?
Hi all. I'm an absolute noob. I'm on the 118th. page of Ivor Horton's Beg. VC++. That's how new I am that is why I need to ask, how do you assign the value of a numeric up/down control to variables?
I get errors for all ints, floats, doubles and every other kind of variable I try!
for example, creating a Windows Forms and double clicking the numeric up/down control, it opens the code window (of course), and I declare one variable, of type float.
float myFloat;
myFloat = nudMyUpDown.
Doesn't work. Why is that? I'd also like to ue the decimal output of the control as well. that REALLY didn't work out too well! I can't find any definitive help in MSDN. All they talk about is doing this in VB. I don't wanna do VB, I wanna do VC++.
Any clues? Thanks in advance.
PS: Can you guyz & girlz keep it simple for this stupid? Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|