Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut in toolbars
Message
De
12/06/2008 19:27:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Shortcut in toolbars
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01323634
Message ID:
01323634
Vues:
65
Hi,

I'm working in a toolbar, and I'm trying to create a shortcut, menu when users will click in a specific toolbar button.

In a first moment, during tests, the command below worked perfectly:

DEFINE POPUP Atalho SHORTCUT RELATIVE FROM MROW(),MCOL()

But, If I have an active form, then it shows in the wrong place, relative to the form, not the toolbar.


I've tried using the "IN WINDOW SCREEN", but it still appears in the wrong place.


In HELP I saw that I can specify the WINDOW NAME, so that the menu will appear in the correct place, but, how can I know the window name of the toolbar ?

I've tried, calling from a button inside the toolbar:
:
Thisform.Name
Thisform.Caption
This.Parent.Name
This.Parent.Caption

I know I'm missing a detail....

Any ideas ?

Thanks in advance !
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform