Form.Select(Boolean, Boolean) Form.Select(Boolean, Boolean) Form.Select(Boolean, Boolean) Form.Select(Boolean, Boolean) Method

Definition

Selects this form, and optionally selects the next or previous control.

protected:
 override void Select(bool directed, bool forward);
protected override void Select (bool directed, bool forward);
override this.Select : bool * bool -> unit
Protected Overrides Sub Select (directed As Boolean, forward As Boolean)

Parameters

directed
Boolean Boolean Boolean Boolean

If set to true that the active control is changed

forward
Boolean Boolean Boolean Boolean

If directed is true, then this controls the direction in which focus is moved. If this is true, then the next control is selected; otherwise, the previous control is selected.

Security

UIPermission
For changing focus. Associated enumeration: AllWindows.

Applies to