accComboBox Property


object = accComboBox(wndID);

Will search for a child accessible object having the ROLE_SYSTEM_COMBOBOX role.

Parameters

wndID
Optional. Either an integer as the zero-based index of the child with the specified role, or a string containing the child name. The string can be a regular expression. Default value is 0.

Remarks

A combo box has as children the edit control (or static text), the drop down arrow (as a push button), the list box, and the items in the list. Note that the push button (the down arrow) is not a full object and can only be accessed through its parent combo box.

The default action (accDoDefaultAction) on the drop down arrow is to open/close the list box. The default action (accDoDefaultAction) on a list item is to generate a double click. Its accName property returns the contents of the edit control (or static text), which is usually the currently selected item. The accIsFloating and accIsInvisible properties of the list box indicate if the list is open or not.

See also

wnd Overview | MS Accessibility

 


© 2003 Lightweight Technologies. All rights reserved.