kanber Posted February 17, 2009 Share Posted February 17, 2009 Hello, I am trying system events. Onalert onkeydown onkeyup onhelp onshutdown etc. But I cant find a example how can I use them... can you give a example about system events... Link to comment Share on other sites More sharing options...
AzeoTech Posted February 17, 2009 Share Posted February 17, 2009 Here's a sample that shows a few of the events in action. Note that the onkey and onchar only work if you are viewing a page. eventsample.ctl Link to comment Share on other sites More sharing options...
kanber Posted February 18, 2009 Author Share Posted February 18, 2009 I know how I can use system message box. but I want to this; for example user when press to "ctrl+T" I will do something. how can I get this action... thanks for interesting... Link to comment Share on other sites More sharing options...
AzeoTech Posted February 18, 2009 Share Posted February 18, 2009 I used system.messagebox() just to show that something was happening. To do what you want, just press ctrl-T and see what char-code appears in the alert window, then put an if() statement in the OnKeyUp to look for that code. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.