Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox as array in grid does not work in VFP6
Message
 
To
30/04/1999 13:59:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00212765
Message ID:
00214923
Views:
12
>Can you be a bit more specific about what is happening ??? The more >information you give the group, the more help we can be.
You can set the ControlSource of a one grid column to an array
using the record number of a table/cursor as index (limited to
65535 records). In this column you have a checkbox which
enables the user to check one or more records in the grid.
That is the feature which is explained in article KB Q138095 of
the Microsoft Knowledge Base.
With version 6.0(SP2) the checkbox in the grid column cannot
be changed by the user (like read only). Same program works with
VFP3-5

The workaround I found, is to use the click-method to change the array (and therfore the checkbox) programmatically (system beeps as it does
for read only checkboxes).

Andreas

>>According to Microsoft KB Q138095 it is possible
>>to have a checkbox in a grid column that is
>>bound to an array (array index is Recno()).
>>
>>This worked well in VFP3 and VFP5. With VFP6 (SP2)
>>it stopped working: The checkbox cannot be changed by
>>clicking. A change by program code is still possible.
>>It doesn't matter whether the record source is a cursor,
>>table or SQL statement.
>>
>>Andreas
>
Previous
Reply
Map
View

Click here to load this message in the networking platform