ctrlSetFocus: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
(14 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Set the input focus on given control. |DESCRIPTION= | |||
____________________________________________________________________________________________ | |||
''' | | '''ctrlSetFocus''' controlName|SYNTAX= | ||
|p1= controlName: [[Control]] |PARAMETER1= | |||
| [[Nothing]] |RETURNVALUE= | |||
____________________________________________________________________________________________ | |||
|x1= <pre>ctrlSetFocus _control</pre> |EXAMPLE1= | |||
____________________________________________________________________________________________ | |||
| |SEEALSO= | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|CTRLSETFOCUS]] | |||
[[Category:Scripting Commands ArmA|CTRLSETFOCUS]] | |||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on June 30, 2017 - 09:54 (UTC)</dd> | |||
<dt class="note">[[User:IT07|IT07]]</dt> | |||
<dd class="note"> | |||
This command seems to only work on controls that accept any input from keyboard or mouse. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 15:36, 7 April 2019
Description
- Description:
- Set the input focus on given control.
- Groups:
- Uncategorised
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
Notes
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.