Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in grid 'uncheckable'
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00952596
Message ID:
00952607
Views:
8
I added them at design time (visually). The checkboxes DO show up when the form is run. They just act as if they're ReadOnly or Disabled or something.

>Did you add the checkboxes "visually" at design time, or rather programmatically at runtime?
>If the latter, my guess would be a missing grid.ColumnX.Check1.Visible=.T.
>
>
>hth
>-Stefan
>
>>In my form Load method, I create a cursor:
>>
>>CREATE CURSOR USERS (USERNAME C(30), LOCK L, userid n(5,0), sendmsg L)
>>
>>
>>I have a grid on my form that is bound to this cursor. The grid has 3 columns, two of which are using checkbox controls as their Current Control value. The checkbox columns both have sparse = .F.. Both checkbox columns have ReadOnly = .F. while the last column (with the default textbox control and sparse = .T.) has ReadOnly = .T.. The grid itself is set to ReadOnly = .F.
>>
>>When I run my form, the checkboxes appear correctly (much rejoicing) but I'm not able to check/uncheck either of the checkboxes in any of the rows.
>>
>>What do I need to do to be able to allow the checkboxes to be checked/unchecked?
>>
>>Thanks for your help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform