Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement