Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling option buttons
Message
 
À
24/05/1999 19:24:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00222237
Message ID:
00222495
Vues:
29
In that case, you could to refer to the option group as:

thisform.pgfMyPageFrame.pgMyPage1.opgMyOption.enabled=.f.

Substituting the object names with your own of course.

Note: In order for the individual option buttons to actually appear disabled (greyed out), you'd use the option group container's setall() method:

thisform.pgfMyPageFrame.pgMyPage1.opgMyOption.SetAll("enabled", .f.)

Otherwise you are disabling the container and not it's contents. Either way the option buttons will be in-accessable, but using the second method makes this clear to the user.

>Ken, thanks for your interest in my question. My option group is in page one of a page frame. Randy
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform