focusedCtrl

From Bohemia Interactive Community
Jump to navigation Jump to search
Arma 32.03DEV BRANCH ONLY ⚠
Hover & click on the images for descriptions

Description

Description:
Returns currently focused control.

Syntax

Syntax:
focusedCtrl display
Parameters:
display: Display - parent display
Return Value:
Control - control which has focus

Examples

Example 1:
_focused = focusedCtrl findDisplay 12;
Example 2:
_isFocused = focusedCtrl _display == _ctrl;

Additional Information

See also:
ctrlSetFocusdisplayParent
Groups:
GUI Control

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.