API EditBox SetAutoFocus

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

Returns

 * nil

Example
  myEditBox:SetAutoFocus( false );  

Result

Will disable AutoFocus on myEditBox when the addon loads.

Details

 * Initial setting appears to be true.