Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I fire off a system menu command with a program?
Message
De
08/01/2000 22:57:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00314980
Message ID:
00315074
Vues:
36
>This is actually two questions that are closely related.
>
>1) The system menu is will documented. I would like to use the edit menu selection's cut and paste options from within my program on edit boxes and such.


You should be able to use the KEYBOARD command to emulate the keystrokes for the repsective menu item's shortcut keys.

KEYBOARD '{CTRL+C}'
KEYBOARD '{CTRL+V}'

>2) Along the same lines. I would like to be able to exit a form/prg etc. and have the system menu remain as it was when the menu selection was made. My program is very large and when returning from a selection the menu is back at the main line at the top causing the user to have to go 3-4 levels deep to get back to the area they were working on when they just wanted to get to the next selection.

I don't think this is possible, without again resorting to KEYBOARD commands to simulate the user using the shortcut keys to open the menus back up. Eeeuw.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform