"showFocus"

Defines if an object displays the focus state.

Synopsis

setValue(string shape, "showFocus", bool show);

getValue(string shape, "showFocus", bool show);

shape.showFocus(bool show);

Parameters

Parameter Description
shape Name of the object
show Defines if the focus is displayed (true; default) or not (false).

Description

Defines if the focus frame of an object is displayed (true;default) or not (false). For displaying a focus frame the config entry [ui] showInputFocus must not be disabled. The visual appearance of the frame can be defined using the config entries [ui] focusColor resp. [ui] focusLineType.

If the focus frame is disabled the object will not display that it currently holds the focus. To show the user that the object holds the current input focus changing any visual property is recommended, e.g. fore- or background color.

Assignment

All widgets