![]() |
Gui Keyboard Input
So I have a gui control with gui images showing up. Is there something built in (I've looked but didn't notice anything, makefirstresponder, modal, and tabfirst didnt do anything for the control with firstresponder or modal or with the gui images as tabfirst) to make this work, or do I have to do custom work?
Basically, a menu pops up, and I was hoping with either arrow keys or tab you can cycle through the gui images in the control, but it's def not working... |
you can just detect the keys being pressed using onKeyDown(parameters, ...) and then do the changes to your GUI
|
You could also probably use GuiCtrl.onAction() if it's a button GUI or something.
|
Quote:
|
I can't test now but figured I'd ask if GuiCtrl.onKeyDown actually works if it's first responder.
|
Quote:
Read over the GUI Docs on the Wiki, they're actually very helpful: http://www.graal.net/index.php/Creat...ent/GuiControl |
I do use that site quite often, I guess I overlooked that. Thanks.
|
| All times are GMT +2. The time now is 09:13 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.