Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut menu
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
01021081
Message ID:
01021104
Views:
20
>>I'd like to create a shortcut menu that a user will bring up when he clicks with a right click on a label.
>>
>>Thanks
>
>Try this in right click on a label:
>
Thisform.ScaleMode = 0        && Foxels
>lnPosX = This.Left + This.Width
>lnPosY = This.Top + This.Height
>Thisform.ScaleMode = 3          && Back to Pixels
>DEFINE POPUP test SHORTCUT RELATIVE FROM (lnPosY), (lnPosX)
>DEFINE BAR 1 OF test PROMPT "Menu 1"
>DEFINE BAR 2 OF test PROMPT "Menu 2"
>ACTIVATE POPUP test
>
>HTH
But how will I change the color?
Sorry if I am missing the obvious.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform