Difference between revisions of "ctrlSetFocus"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma |= Game name
+
| arma |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 36: Line 36:
 
[[Category:Scripting Commands ArmA|CTRLSETFOCUS]]
 
[[Category:Scripting Commands ArmA|CTRLSETFOCUS]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
  
 
<!-- CONTINUE Notes -->
 
<!-- CONTINUE Notes -->

Latest revision as of 10:05, 6 April 2020

Introduced with Armed Assault version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Set the input focus on given control.

Syntax

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

Examples

Example 1:
ctrlSetFocus _control

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

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.