Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut in toolbars
Message
From
12/06/2008 19:27:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Shortcut in toolbars
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01323634
Message ID:
01323634
Views:
64
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 !
Next
Reply
Map
View

Click here to load this message in the networking platform