If oDlg:aControls[i]:lFocused
//-- Your function
exit
end"//--Your function" never gets executed in this case, because when the VK button is clicked no Get object has focus.
We want to know the Get that was in focus before pressing the VK button, which has already lost focus.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India