Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check box readonly
Message
De
20/05/1997 09:58:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032786
Message ID:
00032943
Vues:
47
>>Is there a reason that the checkbox control doesn't have a readonly property? Is there a way to simulate one in my checkbox class? .Enabled would work for most of my implentations, but it would be nice to be able to issue a SETALL readonly to .T. and have the checkboxes included.
>
>I haven't tried this, but: Could you add a 'readonly' property to the checkbox, and then in the Refresh() or getfocus() or some other method put
> if this.readonly
> this.enabled = .f.
> else
> this.enabled = .t.
> endif
>
>The setall() would adjust the property, and the code do the rest.
>
>HTH
>Barbara
Thanks, Barbara. This is exactly what I have ended up doing. You know what they say.. great minds...
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform