Retrieves the handle of item that has the focus.
Type | Description | |||
HITEM | A long expression that indicates the handle of the focused item. |
The FocusItem property specifies the handle of the focused item. If there is no focused item the FocusItem property retrieves 0. At one moment, only one item can be focused. When the selection is changed the focused item is changed too. Use the SelectedItem property to get the selected item. Use the SelectItem to select or unselect a specified item. Use the ShowFocusRect property to indicate whether the control draws a marking rectangle around the focused item. Use the SelectableItem property to specify whether an item is selectable/focusable.