Form.Select Method (Boolean, Boolean)

 
Use BaseTrue

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Protected Overrides Sub Select (
	directed As Boolean,
	forward As Boolean
)

Parameters

directed
Type: System.Boolean

If set to true that the active control is changed

forward
Type: System.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.

UIPermission

For changing focus. Associated enumeration: UIPermissionWindow.AllWindows.

.NET Framework
Available since 1.1
Return to top
Show: