2.134 .focusitem
In addition to .focus, the special element .focusitem exists for the object listbox. .focusitem sets the focus on a particular entry (e.g. the fourth entry). The availability depends especially on the underlying window system.
Attention
Deprecated, is no longer supported. Access (get or set) causes a fail.
Definition
-
Data type
integer
-
Access
get, set
-
changed event
yes
SetValue
Obje |
Behavior for .focusitem |
---|---|
listbox |
Focus is set at the specified listbox entry, if the listbox has the focus. If a non-existing index is given, the focus is set at the last listbox entry. |
GetValue
Obje |
Data Type |
Return value |
---|---|---|
listbox |
integer |
If object has the focus, the actual focusitem is returned.; otherwise 0 is returned. |
See also
Attribut