Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / GeneralEditor Class / Focus Method / Focus(Boolean) Method
Whether to move focus to the control


In This Topic
    Focus(Boolean) Method
    In This Topic
    Moves the focus to the control.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Focus( _
       ByVal giveFocus As Boolean _
    ) 
    'Usage
     
    
    Dim instance As GeneralEditor
    Dim giveFocus As Boolean
     
    instance.Focus(giveFocus)
    public virtual void Focus( 
       bool giveFocus
    )

    Parameters

    giveFocus
    Whether to move focus to the control
    See Also