Export (0) Print
Expand All
F
Expand Minimize

Visual Basic Reference

Visual Studio 6.0

ForwardFocus Property

See Also    Example    Applies To

Returns or sets a value determining which control receives focus when one of the access keys for the control is pressed. The ForwardFocus property is read/write at the controls authoring time, and not available at the controls run time.

Settings

The settings for ForwardFocus are:

Setting Description
True The next control in tab order will receive focus when one of the access keys for the control is pressed.
False (Default) If the CanGetFocus property is true, the control itself will receive focus when one of the access keys for the control is pressed.

Remarks

The ForwardFocus property allows the control to implement the behavior of a Label control that has an access key.

Access keys are set through the AccessKeys property. When an access key in conjunction with the ALT key is pressed, the controls AccessKeyPress event is raised.

Show:
© 2015 Microsoft