Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object.Enable
Message
De
19/07/2000 17:08:13
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00394572
Message ID:
00394584
Vues:
9
Hi Randall

Put objectname.enabled = .F. to disable, objectname.enabled = .T. to enable....
ex.
IF ('something happens')
objectname.enabled = .F. &&will disable if that something is true
ENDIF

or you can just put objectname.enabled = .whatever. in the form load for each button

JD

>I have a form that has nine options (buttons) on it. I use this form in two different places. all of the buttons apply in one place but only nine apply in the other. I have seena command that lets you enable or diable a button through code. The default for the button is Enable=.F. I am not sure how to use the "Object.Enable" command. Any idea how to do this?
>
>Thanks in advance for your help.
>
>Randall
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform