Forum Discussion

Morgan's avatar
Morgan
Frequent Contributor
11 years ago
Solved

.value to set a checkbox

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 reaso...
  • murugans1011's avatar
    11 years ago
    Try using



       chkobj.Value=0 or chkobj.Value=1

      

       0- unchecked

       1-checked



    instead u can also use



        chkobj.Clickbutton(cbChecked) or chkobj.Clickbutton(cbUnchecked)