Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   onKey Events (https://forums.graalonline.com/forums/showthread.php?t=74434)

killerogue 06-07-2007 05:26 AM

onKey Events
 
These would be REALLY useful OUTSIDE of Gui Controls. :( I mean it'd make a ton of things easier for folks Stefan. Do you think we could get these...PLEASE?

zokemon 06-07-2007 09:36 AM

PHP Code:

function GraalControl.onKeyDown() {
  
stuff();



killerogue 06-07-2007 09:54 PM

Yo srsly?

Like, I didn't know that would work. >_>

zokemon 06-12-2007 12:10 AM

To append to this though, it would be nice to have a function that is called when ever a key is pressed no matter what control has focus (even text controls). You could easily then script it to which control types to ignore by finding the current object with focus and looking at the objecttype().


All times are GMT +2. The time now is 05:02 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.