Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Fred. Yes! That's it!
I simply added the following lines to the Refresh of the parent Form Class:
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"checkbox1")
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"combobox1")
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"editbox1")
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"grid1box1")
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"listboxbox1")
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"spinner1")
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"spinner1_9")
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"oleboundcontrol1")
THISFORM.SETALL("Enabled",THISFORM.lEnableInput,"textbox1")
And then call THISFORM.Refresh from any Button in the instantiation of the Form.
(lEnableInput is the custom logical property that the Edit and Save buttons toggle as the user clicks them.)
Way Cool!
Ps. This is a very powerful Method. I locked myself out of my program a couple of times until I got the hang of Setall.
Thanks for the help!
Gaylen Miller
Précédent
Suivant
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