ctrlSetFocus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "</dd> </dl>" to "</dd> </dl>")
m (Text replacement - "\|s1= +" to "|s1= ")
Line 20: Line 20:
|descr= Sets the input focus on given control.
|descr= Sets the input focus on given control.


|s1= [[ctrlSetFocus]]  control
|s1= [[ctrlSetFocus]]  control


|p1=  control: [[Control]]
|p1=  control: [[Control]]

Revision as of 16:38, 19 June 2021

Hover & click on the images for description

Description

Description:
Sets the input focus on given control.
Groups:
GUI Control

Syntax

Syntax:
ctrlSetFocus control
Parameters:
control: Control
Return Value:
Nothing

Examples

Example 1:
ctrlSetFocus _control;

Additional Information

See also:
focusedCtrl

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on June 30, 2017 - 09:54 (UTC)
IT07
This command seems to only work on controls that accept any input from keyboard or mouse.