Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / MoveFocusByKeyExit Method
The KeyExitEventArgs instance that contains the event data.


In This Topic
MoveFocusByKeyExit Method (GcTextBox)
In This Topic
Moves the focus using the key exit event.
Syntax
'Declaration
 
Protected Overrides Sub MoveFocusByKeyExit( _
   ByVal e As KeyExitEventArgs _
) 
 
'Usage
 
Dim instance As GcTextBox
Dim e As KeyExitEventArgs
 
instance.MoveFocusByKeyExit(e)

Parameters

e
The KeyExitEventArgs instance that contains the event data.
Remarks
When the MoveFocusByKeyExit method is called, the focus moves. ExitKeys.CharInput, ExitKeys.CtrlRight, ExitKeys.NextControl, and ExitKeys.Right are exit keys. Tab moves the focus forward, but other ExitKeys move the focus backward.
Notes for Inheritors: The base method must be invoked when overridden in the inherited class; otherwise, the focus does not move.
See Also