WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   EditBox attribute AutoFocus (https://www.wowinterface.com/forums/showthread.php?t=6754)

Airlag 11-04-06 06:56 AM

EditBox attribute AutoFocus
 
EditBoxes have the attribute AutoFocus (I don't know since when)
If set to true, the EditBox allways tries to get the Focus. This means the cursor is displayed and all keyboard entries are redirected to the EditBox. Very annoying when you play WoW ;)
Unfortunately, AutoFocus is set automatically to true :(
Unfortunately, AutoFocus is not displayed in the properties window of the UI Designer, so the only way to get rid of it is to set it manually to false for all EditBoxes that I implement.
(looks like this in the OnLoad procedure)
getglobal("EditBoxName"):SetAutoFocus(false);

Is there a possibility to get AutoFocus as a customizable attribute in the property window?
Maybe in the next release?

many thanks,
Jochen [Chibi on german Server Thrall]

P.S.: I like WoW UI Designer very much, it makes AddOn Design very easy :D


All times are GMT -6. The time now is 11:10 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI