>I have created a shortcut menu using command
>
>define popup vchpop shortcut relative from mrow()+1, mcol() in screen
>
>It just work fine until no form is running.
>When there is a form already running, mcol() returns different values on execution of shortcut menu. most of the time mcol() returns -1 location.
>
>Zahid
Do not use IN SCREEN
DEFINE POPUP vchpop SHORTCUT RELATIVE FROM MROW(),MCOL()
IN SCREEN means that it places a menu in the main Visual FoxPro window.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.