cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
numericUpDown operations
numericUpDown operations
Aug 24, 2010 at 6:05pm UTC
alwayslags
(9)
Hi
I want to use 2 numericUpDowns. 1st max value is 180, 2nd max value is 90. How to make 2nd numeric ReadOnly when some1 pick 180 value in numericUpDown number 1?
I tried like this:
private: System::Void numericUpDown5_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if (this->numericUpDown5-> = 180)
{
this->numericUpDown8->ReadOnly = true;
}
else
{
this->numericUpDown8->ReadOnly = false;
}
}
but ive got an error: conditional expression of type "void" is illegal. PLS HELP ME!
Aug 25, 2010 at 11:04am UTC
alwayslags
(9)
any1?
Topic archived. No new replies allowed.