Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling option buttons
Message
 
 
À
24/05/1999 17:09:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00222237
Message ID:
00222279
Vues:
35
Randy,

If both the combobox and the optiongroup are inside the same "container", the page in your case, use this.parent.txtOption.Enabled = .f.

FWIW, txt is usually used as an identifier for TextBox objects. opg is used for OptionGroups. The help file lists these in the Naming conventions topic.

>Hi... I am working with VFP6 and want to disable an (entire) option box from the click event of the Combo Box right before it.
> Having trouble with the syntax. thisform.txtOption.disabled=.t. gives me an error message that my option group could not be found.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform