Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut menu question
Message
 
To
27/06/2000 12:17:35
Steven Kleypas
Tarrant County College District
Texas, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00385180
Message ID:
00385721
Views:
14
>In trying to build a shortcut menu class which has the standard Copy, Cut, Paste bars, what is the best way to indicate the command? By that I mean should these call the corresponding main menu bars, or execute the command directly?

I usually stick to calling the menu bars... "all roads with the same purpose should point to the same place" is my own rule of thumb.

>Also, Is this the correct way to call the system menu edit/copy bar?
>goApp.oMenu.oEditPad.oEditCopyBar.Click()

yes, if your using the MMF menu classes straight out of the box. If you've created your own Edit Pad/Popup the object ref between goApp.oMenu and .Click() will vary of course.

See the the Click() on cbar class in ctmenus.vcx to see how sysmenu stuff life edit/copy/paste are handled.
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Previous
Reply
Map
View

Click here to load this message in the networking platform