General information
Category:
Forms & Form designer
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only