How can I give a (display) value to a textbox in form?
NatherLaci
0
Newbie Poster
Recommended Answers
Jump to PostConvert the numeric value using the .toString() method.
TextBox1-> Text += iNum.toString();
Jump to Post1) You can make it read-only and change the background color to white (or what ever color it is normally).
2) Application::Exit();
Jump to PosttextBox1->Focus();
Jump to Posthttp://msdn.microsoft.com/en-us/library/system.windows.forms.textbox_properties.aspx
If you are using Visual Studio 2008 or 2005, you can are the commands in IntelliSense.
...or hit F1 if you have msdn installed....otherwise, just use the msdn website.
Jump to PostScope Resolution Operator ::
the :: represents something that is static inside a class (won't be instantiated; just used)It can also represent objects that are available at the module-level when used with no leading decoration.
and the arrow -> represents a pointer to a member or managed …
All 40 Replies
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
NatherLaci
0
Newbie Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
NatherLaci
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.