Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / Focus Method
Whether the element is to receive focus


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

    Parameters

    giveFocus
    Whether the element is to receive focus
    See Also