Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

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

EditBox:SetAutoFocus(autoFocus)

Arguments[]

autoFocus
boolean - Whether autofocus should be enabled

Example[]

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

Result

Will disable AutoFocus on myEditBox when the addon loads.


Details[]

Initial setting appears to be true.
Advertisement