PrintPreviewDialog::ProcessTabKey Method (Boolean)

 

Processes the TAB key.

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

protected:
[UIPermissionAttribute(SecurityAction::LinkDemand, Window = UIPermissionWindow::AllWindows)]
virtual bool ProcessTabKey(
	bool forward
) override

Parameters

forward
Type: System::Boolean

true to cycle forward through the controls in the form; otherwise, false.

Return Value

Type: System::Boolean

true to indicate the TAB key was successfully processed; otherwise, false.

Notes to Inheritors:

When overriding this method, a control should return true to indicate that it has processed the key. For keys that are not processed by the control, return the result of the base version of this method.

UIPermission

For access to all windows. Related enumeration: AllWindows

.NET Framework
Available since 2.0
Return to top
Show: