>>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