I'm trying to write some code that will make it so that when the user clicks on one checkbox, that the other can't be selected as well, and if the user then tries to select the other one, the first checkbox gets unselected. This is the code I'm using, and foxpro, during runtime, tells me that it can't find the property chkBillable, which is the name of one of the checkboxes.
if this.chkBillable = .f.
this.chkWarrantyWork = .t.
if this.chkBillable = .t.
this.chkWarrantyWork = .f.
endif
endif
Samalia
thisform.refresh()
if this.chkBillable = .f.
this.chkWarrantyWork = .t.
if this.chkBillable = .t.
this.chkWarrantyWork = .f.
endif
endif
Samalia
thisform.refresh()