Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CTRL & TAB Key

Status
Not open for further replies.

FRED123456789

Technical User
Jun 2, 2004
8
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top