Hi,

 

Unsure but I thought there was a “Checked” property. Am I right guys?

 

cbMyCheckBox.Checked = false; //Turn the check box off

cbMyCheckBox.Checked = true; //turn on the checkbox

 

try that code if it doesn’t work let me know your solution I can honestly say ive never tried it before.

 

Kind Regards,

Robert A Heeley

[EMAIL PROTECTED]

http://www.rahsoftware.com


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Sent: 16 February 2006 19:54
To: [email protected]
Subject: [Microsofts_C_Sharp] Changing check box state

 

Hi all-

I'm just learning C#... have used VB, but it's been limited.

How do I change the state of a checkbox?  I have a button to clear my
fields, but not sure how to change the state of the checkbox to unchecked.

Any help is appreciated!
Thanks!
G







SPONSORED LINKS
Basic programming language C programming language Computer programming languages
Programming languages C programming language Software programming language


YAHOO! GROUPS LINKS




Reply via email to