ctrlSetFocus: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
| Set the input focus on given control. | | Set the input focus on given control. | ||
| '''ctrlSetFocus''' controlName | | '''ctrlSetFocus''' controlName | ||
|p1= controlName: [[Control]] | |p1= controlName: [[Control]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[ctrlSetFocus]] _control;</code> | |x1= <code>[[ctrlSetFocus]] _control;</code> | ||
| | | | ||
}} | }} |
Revision as of 00:30, 18 January 2021
Description
- Description:
- Set the input focus on given control.
- Groups:
- GUI Control
Syntax
Examples
- Example 1:
ctrlSetFocus _control;
Additional Information
- See also:
- See also needed
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
Bottom Section
- 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.