ctrlSetFocus: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "") |
m (formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma1 | |game1= arma1 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2 | |||
|version2= 1.00 | |||
|game3= arma2oa | |||
|version3= 1.51 | |||
|game4= tkoh | |||
|version4= 1.00 | |||
|game5= arma3 | |||
|version5= 0.50 | |||
|gr1= GUI Control | |gr1= GUI Control | ||
| | |descr= Sets the input focus on given control. | ||
| '''ctrlSetFocus''' | |s1= '''ctrlSetFocus''' control | ||
|p1= | |p1= control: [[Control]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[[ctrlSetFocus]] _control;</code> | |x1= <code>[[ctrlSetFocus]] _control;</code> | ||
|seealso= [[focusedCtrl]] | |seealso= [[focusedCtrl]] | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> |
Revision as of 10:09, 13 April 2021
Description
- Description:
- Sets the input focus on given control.
- Groups:
- GUI Control
Syntax
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.
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: GUI Control