Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut in toolbars
Message
 
 
To
12/06/2008 19:27:31
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01323634
Message ID:
01323648
Views:
16
This message has been marked as the solution to the initial question of the thread.
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform