Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with a checkbox in a grid
Message
From
11/11/1999 03:26:45
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00289524
Message ID:
00290000
Views:
27
>>>>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????
>>>>
>>>
>>>Let me trace through this. The RecordSource of the Grid is a table created at runtime. This should be no problem if you have specified this as the RecordSource for the grid. The ControlSource of the checkbox is a specific field from this table created at runtime. Have you made the CurrentControl of the column the CheckBox? Have you set the ControlSource of that column to that field? Also set the ControlSource of the checkbox in the column the same field. You might also need to change the Sparse property of that column to FALSE.
>>
>>All settings are set the way you describe above already. Any other idea?
>>
>
>The problem is the checkbox is read-only and you can not click it to change its value? Is your grid read only? Is the column read-only? How do you open the table? with the noupdate option?

The grid, the column are not readonly. The table is not opened with the noupdate option. I can change the values in the other columns.
The result of my tests is, that every control I added dynamicly to a column of the grid is readonly. I can change the attribute to .f., but if I click into the grid, the readonly attribute is changed automatic to .t.. Any idea?

Frank Fromm
Jörg Schneider
Joerg.Schneider@SMARTCRM.de
SMARTCRM CRM powered by MS Visual FoxPro
SMARTCRM GmbH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform