I wasn't thinking correctly... I wanted to put "= No" Thanks!!!
G --- In [email protected], "Rob" <[EMAIL PROTECTED]> wrote: > > 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 <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 > <http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+pro > gramming+language&w2=C+programming+language&w3=Computer+programming+language > s&w4=Programming+languages&w5=C+++programming+language&w6=Software+programmi > ng+language&c=6&s=188&.sig=iGxrJqXlpJD93Gn2WJnoPQ> programming language > > C > <http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Basic+program > ming+language&w2=C+programming+language&w3=Computer+programming+languages&w4 > =Programming+languages&w5=C+++programming+language&w6=Software+programming+l > anguage&c=6&s=188&.sig=qmLSEJy8bi0_VDFWI8nqqw> programming language > > Computer > <http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic > +programming+language&w2=C+programming+language&w3=Computer+programming+lang > uages&w4=Programming+languages&w5=C+++programming+language&w6=Software+progr > amming+language&c=6&s=188&.sig=Jj3MOzF1ffC2G5jQOwNguQ> programming > languages > > > Programming > <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programm > ing+language&w2=C+programming+language&w3=Computer+programming+languages&w4= > Programming+languages&w5=C+++programming+language&w6=Software+programming+la > nguage&c=6&s=188&.sig=IJr1yWXoNcfxGPgPLYVFtA> languages > > C > <http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Basic+progr > amming+language&w2=C+programming+language&w3=Computer+programming+languages& > w4=Programming+languages&w5=C+++programming+language&w6=Software+programming > +language&c=6&s=188&.sig=gKpaB8RD2WPC7b7UDIdgfA> programming language > > Software > <http://groups.yahoo.com/gads?t=ms&k=Software+programming+language&w1=Basic+ > programming+language&w2=C+programming+language&w3=Computer+programming+langu > ages&w4=Programming+languages&w5=C+++programming+language&w6=Software+progra > mming+language&c=6&s=188&.sig=dC7cQdeugAVX2bJkn_3dzA> programming language > > > > _____ > > YAHOO! GROUPS LINKS > > > > * Visit your group "Microsofts_C_Sharp > <http://groups.yahoo.com/group/Microsofts_C_Sharp> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! > <http://docs.yahoo.com/info/terms/> Terms of Service. > > > > _____ > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Microsofts_C_Sharp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
