Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toggle cmdbutton on/off
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00114609
Message ID:
00114626
Vues:
16
Timothy,

Why not use a Checkbox (chkEnabler), set it's value to .T. or .F. depending on the initial state you want the cbo, make it a Style=Graphical. This way the user will have some visual cue about the system state.

Then code the cbo.When:

return this.parent.chkEnabler.Value

If you want the cbo to disappear you could do that in the chkEnabler.InteractiveChange.

>Hi, I have a cmdbutton that activates a combobox. Iwas hoping to have the said cmbbutton toggle the combobox on/off when clicking the cmdbutton, and although all my code is there, it does not work. hmmm.
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