Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabled CheckBox Caption Hard to See?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00207633
Message ID:
00208001
Vues:
25
Hi Bela,

>I use a different way! Make a ReadOnly propety. And in the gotfocus event of the chekbox:
>if this.ReadOnly
> return .f.
>endif

Be carefull! If you open such a class in VFP 6, save it, open it in VFP 5 and save it, the ReadOnly property is gone and your class won't work anymore in VFP 5 or the value is ressetted in VFP 6. That's because ReadOnly is a native property in VFP 6 and VFP 6 does recognize it as such. Therefore it removes it from the RESERVED3 field which makes VFP 5 think, that this property doesn't exist anymore and consequently it removes the value from the PROPERTIES field. *g*

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform