Information générale
Catégorie:
Gestionnaire de menu & Menus
Titre:
Shortcut in toolbars
Versions des environnements
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
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