Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with checkboxes
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144749
Message ID:
00144832
Views:
28
Brenda,

This is a bug in VFP for checkboxes in readonly grids. My lowest level cCheckBox class has an mlReadOnly property (You can't use ReadOnly because it terribly confuses VFP) and the When does this:
if ( this.mlReadOnly )
   return .f.
endif
The user can still tab through the grid focus will just wind up on the next object.

>>>have a grid.column that has a checkbox as the control. set the grid to readonly, yet you can still click into the checkbox. the column has readonly = .t. checkbox does not have a readolnly property.
>>>
>>>also on another form i have the almost an opposite situation. can tab to the checkbox and press enter to change its value, but am not able to click (with the mouse) to change the checkbox value.
>>>
>>>any ideas?
>
>>This happens, and not only with checkboxes. The solution I use is to return, from the checkbox WHEN event, NOT This.READONLY.
>
>the client wants to tab through the table, even in view mode. setting the when would not allow them to do this.
>
>brenda
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform