Hi,
I having problem with my VFP8 grid.
My grid is for viewing some open table with some logical field
It had 02 columns with checkbox.
Depending on other field in the open table,
I might need to change the checkbox caption display
on the grid.
However, when I change one of the checkbox caption,
it affect the other too. Below is my code
* change row 1 of the column 3 checkbox caption
thisform.grid1.ActivateCell(1,3)
thisform.grid1.column3.check1.Caption = "Row 1"
Above code will change all my column 3 checkbox caption
to 'Row 1'
In addition, if one of my checkbox is checked, the
other column checkbox should be uncheck, but my code
below also not working. Any ideal ?
Column3 check click method
==========================
IF this.Value = .T.
thisform.grid1.column2.check1.Value = .F.
endif
Column2 check click method
==========================
IF this.Value = .T.
thisform.grid1.column3.check1.Value = .F.
endif
Any help or comment is very much appreciated. Thank you
Best Regards
Virusim