ctrlSetFocus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset version to 1.00)
m (template:command argument fix)
(9 intermediate revisions by 7 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set the input focus on given control. |= Description
| Set the input focus on given control. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''ctrlSetFocus''' control |= Syntax
| '''ctrlSetFocus''' controlName|SYNTAX=


|p1= control: [[Control]] |= Parameter 1
|p1= controlName: [[Control]] |PARAMETER1=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>ctrlSetFocus _control</pre> |= Example 1
|x1= <pre>ctrlSetFocus _control</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= See also
|  |SEEALSO=


}}
}}
Line 35: Line 35:
[[Category:Scripting Commands|CTRLSETFOCUS]]
[[Category:Scripting Commands|CTRLSETFOCUS]]
[[Category:Scripting Commands ArmA|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

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Set the input focus on given control.
Groups:
Uncategorised

Syntax

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

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.