WoW:API EditBox SetAutoFocus: Difference between revisions
Jump to navigation
Jump to search
(Set automatic keyboard inline for an EditBox upon Show. Default setting is true.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Stub/API}} | |||
Arguments: true, false. | Arguments: true, false. | ||
Revision as of 08:55, 20 September 2006
Arguments: true, false.
Sets the autofocus of an EditBox UIObject to either true or false.
AutoFocus causes the keyboard inline to automatically enter the EditBox when the EditBox is shown. Otherwise Focux is established by clicking on the EditBox.
Initial setting appears to be true.
Example:
<Scripts> <OnLoad> myEditBox:SetAutoFocus( false ); </OnLoad> </Scripts>
--Will disable AutoFocus on myEditBox when the addon loads.