Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing hiding some command buttons
Message
 
To
10/04/2009 22:59:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01394306
Message ID:
01394308
Views:
49
I would write a Form Method to do this and call this method from each button click event.

You would have a Parameter sent to the Method so you would know what to do.

For example, call it Command_Button_ShowandHide

You would call it like this : thisform.Command_Button_ShowandHide(1,4,6)
The 1,4,6 would be parameters of the command buttons to turn OFF.

The Method would be:

lParameter tc1off, tc2Off, tc3off etc,,,,

Then have a DO CASE statement to turn off the individual command buttons in code.


One Method many uses.
Previous
Reply
Map
View

Click here to load this message in the networking platform