I have a question and would like to know if anyone could help me.
I'm creating a NOMODAL DIALOG, DIALOG and this should be be set hotkeys.
For this I am using the function setkey ().
But the problem is that when the window is closed the key features remain unset.
I wonder if there is any method that executes after the dialog is closed so I can get the functionality of the shortcut keys.
MODAL DIALOG in the type, I did so, but with the NOMODAL'm not finding a way to solve this problem.
- Code: Select all Expand view
bKeyF4 := SetKey( VK_F4 )
SetKey(VK_F4,{|| Eval(oButCom:bAction)})
Activate Dialog oDlg VALID !Esc()
SetKey(VK_F4, bKeyF4)