FRED123456789
Technical User
Hi
Asking for your help once more?
I am trying to disable the Ctrl + tab short cut key that enables users to switch between forms
Just disableing the Control key will not display the error message can you let me know where i am going wrong?
this is what i have so far
Thanks and regards
method keyPhysical(var eventInfo KeyEvent)
if eventInfo.isPreFilter() then
if eventInfo.isControlKeyDown() THEN
disableDefault
Msginfo("Error","Please do not use this short cut")
endif
else
endif
endMethod
Asking for your help once more?
I am trying to disable the Ctrl + tab short cut key that enables users to switch between forms
Just disableing the Control key will not display the error message can you let me know where i am going wrong?
this is what i have so far
Thanks and regards
method keyPhysical(var eventInfo KeyEvent)
if eventInfo.isPreFilter() then
if eventInfo.isControlKeyDown() THEN
disableDefault
Msginfo("Error","Please do not use this short cut")
endif
else
endif
endMethod