Show / Hide Table of Contents

Method elm.Select


Overload

Selects or deselects.

public void Select(ESelect how = ESelect.TAKESELECTION)
Parameters
how  (ESelect)

Specifies whether to select, focus, add to selection etc. Can be two flags, for example ESelect.TAKEFOCUS | ESelect.TAKESELECTION. With flag TAKEFOCUS activates the window like elm.Focus.

Exceptions
AuException

Failed.

AuWndException

Failed to activate the window (wnd.Activate) or focus the control (wnd.Focus).

Remarks

Not all UI elements support it. Most UI elements support not all flags. It depends on EStateFOCUSABLE, SELECTABLE, MULTISELECTABLE, EXTSELECTABLE, DISABLED. Many UI elements have bugs, especially with flag TAKEFOCUS. More bugs when the UI element has been found with flag EFFlags.NotInProc.