Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and check
Message
From
23/06/1997 09:42:22
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00037383
Message ID:
00037410
Views:
33
>> >In a grid i use a check field to mark some item on, and some text fields.
>> >When i switch the grid READONLY it is 'normal' that the user cannot change
>> any values in the text fields, etc...
>> >
>> >Why can i still change the check field ??
>> >
>> >I there any way to so that the user cannot change it any more ?
>> >
>> >Help please.
>> >
>> >
>> >Thnks... Marc
>>
>> By MS design check box doesn't understand ReadOnly property, so you should
>> use Checkbox.Enabled=.F.
>
>... but this leaves the Checkbox looking disabled, while the rest of the
>controls look enabled. My preference is to have RETURN .F. in the When.
>
>/Paul

What do you mean saying 'looking disabled'? You can always customize DisabledBack/ForeColor properties to get necessary look. BTW, When and Valid property are legacy ones and not recommended to use.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform