Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / PSContainer Class / Focus Method
Whether the element is to receive focus


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

    Parameters

    giveFocus
    Whether the element is to receive focus
    See Also