Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a menu bar command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Calling a menu bar command
Miscellaneous
Thread ID:
00004959
Message ID:
00004959
Views:
86
I need to call a menu bar command from code. My situation is when the current focus is in a certain field, Cut and Paste need to be defined by me, and at all other times I would like to use the default FoxPro method for Cut and Paste.

It would be convenient if in the menu bar I could create a procedure that would check to see what control I am on and then conditionally kick off the normal VFP cut and paste command or run my own user defined procedure.

Thanks for any help.
Peter
Peter Stephens
Visual Records, Inc.

Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.
Next
Reply
Map
View

Click here to load this message in the networking platform