Take a look at SYS(1500) function.
>Hello,
>
>I have placed some Foxpro system menu commands in one of my custom menus, and I now have a custom toolbar which I want to coordinate with the menu and call these system commands. In particular, I wish to call the CUT, COPY, and PASTE commands from the EDIT system menu (which I believe is _MSM_EDIT).
>
>When I press the toolbar button for "COPY", I either wish to invoke the menu command _MED_COPY somehow, or call the toolbar equivalent, if there is such a thing. I do not know how to do either, and would be very grateful for some code samples of how to do this.
>
>Many thanks,
>
>Trimtrom
--sb--