Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with a checkbox in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00289524
Message ID:
00291000
Views:
17
>I have some problems with integration from a checkbox into a grid. The SourceControl is a table not a cursor. The table was created at runtime.
>The value of the table must be setting by the checkbox, but the box is readonly and I am not able to change the state of this setting.
>Can anybody help me????

I had this same problem when I added a checkbox to a grid at runtime. I have a picklist form class where, depending on a paramater passed to THISFORM.Init(), the user can select one record or multiple records.

I ended up having to set both of these properties in THISFORM.Init():

THISFORM.grdPickList.COLUMNS[x].chkRecordSelect.READONLY = .F.
THISFORM.grdPickList.COLUMNS[x].chkRecordSelect.VISIBLE = .T.

It took me forever to figure out it was the Visible property that was causing the problem.
Chris McCandless
Red Sky Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform