Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / CanvasBase 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 CanvasBase
    Dim giveFocus As Boolean
     
    instance.Focus(giveFocus)
    public virtual void Focus( 
       bool giveFocus
    )

    Parameters

    giveFocus
    Whether to move focus to the control
    See Also