I'm probably missing something rather simple. but I'm tring to use a popup on a form when a button's Click event is triggered.
****
Release POPUP ButtonPop EXTENDED
Define POPUP ButtonPop Title 'Imports' SHORTCUT RELATIVE FROM MROW(), MCOL()
****
The mrow() and Mcol() work just fine when the button is clicked with the mouse, but when the user tabs to the button and presses enter, the popup can be just about anywhere.
What I would like to do is either find out how to determin the Mrow/Mcol location of the top-left corner of the button or force the mouse to be over the button when Enter is pressed.
Thanks
Hal
****
Release POPUP ButtonPop EXTENDED
Define POPUP ButtonPop Title 'Imports' SHORTCUT RELATIVE FROM MROW(), MCOL()
****
The mrow() and Mcol() work just fine when the button is clicked with the mouse, but when the user tabs to the button and presses enter, the popup can be just about anywhere.
What I would like to do is either find out how to determin the Mrow/Mcol location of the top-left corner of the button or force the mouse to be over the button when Enter is pressed.
Thanks
Hal