Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which Method has called myMethod?
Message
From
22/02/2006 03:57:54
 
 
To
17/02/2006 03:59:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01096805
Message ID:
01098022
Views:
13
Then why not simply create a toolbar with all controls and setting .visible = .f. to the controls, which a user has no right to use?

At least why do you create some central myclick and then put a bid DO CASE...ENDCASE in it? You generate your problem yourself. You could simply have a click event for each button in your eventhandler object and then bind oToolbar.commandbutton1.click() to oEventhandler.cmdbtn1click(), oToolbar.commandbutton2.click() to oEventhandler.cmdbtn2click() etc.

Bye, Olaf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform