Cesar,
Check
Re: Popup menu over toolbar Thread #
912732 Message #
913121>
>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 !
--sb--