Wikia

WoWWiki

Watchlist Recent changes

API EditBox SetAutoFocus

Main Menue




Sets whether the cursor should automatically focus on the EditBox when it is shown.

EditBox:SetAutoFocus(autoFocus)


Arguments Edit

autoFocus 
Boolean - Whether autofocus should be enabled


Returns Edit

nil


Example Edit

<Scripts>
    <OnLoad>
        myEditBox:SetAutoFocus( false );
    </OnLoad>
</Scripts>

Result

Will disable AutoFocus on myEditBox when the addon loads.


Details Edit

Initial setting appears to be true.

Pages on WoWWiki

94,193pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,622photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki