Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check if a check box is checked
Message
From
24/01/2005 12:04:33
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00980046
Message ID:
00980058
Views:
32
Oops - sorry, I'm replying to the wrong category!

>this.chkMyCheckBox.Value = .T. (or 1 - depending on how it's set up)
>
>Turloch
>
>>Hi.
>>
>>I have a checkbox control on a form and want to test if it is checked or not
>>
>>How do I do this ?
>>
>>Something like :
>>if (this.chkMyCheckBox.text = true)
>> {MessagBox.Show("CheckBox ix checked";}
>>
>>if (this.chkMyCheckBox.text != true)
>> {MessagBox.Show("CheckBox is NOT checked";}
>>
>>Any help appreciated.
>>Regards,
>>Gerard
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform