Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right-click menu
Message
From
09/03/1998 08:55:52
 
 
To
06/03/1998 17:17:42
Murray Mcintosh
Mammography Reporting System, Inc.
Seattle, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00083141
Message ID:
00083341
Views:
26
>>I didn't use much Right-click menus and now look at 'strange' situation (I guess it's something simple, but it's Friday:). Right-click menu is opened from Grid.Column.Control.Rightclick event with command ACTIVATE POPUP pop1 AT mrow(),mcol(), and for some reason it opens in different positions depending what I run: app or exe file.
>>TIA.
>
>Use the shortcut keyword when you define the menu in the rightclick method
>
>local m.cPopup
>m.cPopup = "rclickpop"
>define popup (m.cPopup) shortcut from mrow(),mcol()
>define bar 1 of (m.cPopup) prompt "prompt1"
>define bar 2 of (m.cPopup) prompt "prompt1"
>on selection popup (m.cPopup) messagebox(allt(str(bar())))
>activate popup (m.cPopup)
>
>Murray

Murray and Mark, thanks for your replies. Unfortunately, it's VFP3 (no shortcut option).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform