Selected property to get or set the object’s selected state.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following objects:
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
True if the specified object is selected, False otherwise.
Selected property may be absent in some objects listed in the Applies To section and may be present in other objects. This depends on the implementation of the
IAccessible.State property on a particular object.
Do not confuse the selected and focused states:
The focused object is the currently active object, which has the input focus. To check if an object is focused, use the
A selected object is the one that is marked (for example, one of items selected in a list box). At that, a selected object may or may not be focused.