Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and check
Message
De
23/06/1997 09:42:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00037383
Message ID:
00037410
Vues:
31
>> >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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform