I'm attaching a shortcut menu to a textbox class. When the user RightClicks, I use MROW() and MCOL() to position the menu, like this:
DEFINE POPUP popRClick SHORTCUT RELATIVE FROM MROW(),MCOL()
I'd like to add the ability to invoke the shortcut menu via keystroke, even when the mouse is positioned over some other control on the form. Comboboxes do this with Alt+DownArrow.
How can I obtain the X/Y coordinates for the textbox (the active control) when the mouse is positioned elsewhere over the form? I assume I need replacements for the MCOL() and MROW() functions.
"Problems cannot be solved at the same level of awareness that created them." - Albert Einstein
Bruce Allen
NTX Data