Information générale
Catégorie:
Gestionnaire de menu & Menus
Paul,
You could, at the click event of each of the toolbar buttons put:
KEYBOARD '{CTRL+X}' && for Cut
KEYBOARD '{CTRL+C}' && for Copy
KEYBOARD '{CTRL+C}' && for Paste
HTH,
Dennis
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement