How can I call a procedure from within a GET via pressing one of the function keys (F1...F12) ? I've tried the following but does not work.
- Code: Select all Expand view
- @ 55,45 GET oGets[5] VAR cCode OF oDlg SIZE 40,10 PIXEL PICTURE "@!" ;
WHEN EVAL({|| SETKEY(VK_F2, {|| cVar := cCode, LookUp(@cVar), ;
cCode := cVar, oGets[5]:varget(), oGets[5]:refresh()}), .T.})
Thank you very much.