Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Selection Bar problem
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
On Selection Bar problem
Miscellaneous
Thread ID:
00174974
Message ID:
00174974
Views:
57
Hello All,

*/I recently added the code below to an existing menu definition in a class method.

DEFINE BAR 8 OF SHORTCUT PROMPT MyPrompt;
KEY SHIFT+F3,"Shift+F3"

*/This Crashes.
ON SELECTION BAR 8 OF SHORTCUT this.ChangeCase()

This.ChangeCase is a method in this class., the error message I receive is This cannot be used outside a method, any ideas

TIA
Pete Kane.

p.s. If I put the code from changecase in a prg and call it, no problem.
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View

Click here to load this message in the networking platform