I want to set a checkbox to checked using the .value property (which returns checked or unchecked). The property says it can also SET the checkbox but I'm having trouble doing that for whatever reason. I'm sure it's simple.... help? (using VB)
You may also find that your checkbox control has a native Set_Checked method, that accepts either a true or false parameter. I find that this tends to make the code slightly easier to read. For example, if your control is referenced by the variable chkCtrl, then you could use something like:
chkCtrl.Set_Checked(true) 'this will check the checkbox control.
chkCtrl.Set_Checked(false) 'this will un-check the checkbox control.