Input for WinForms | ComponentOne
C1.Framework Namespace / IView Interface / Focus Method
Element to receive the focus.

In This Topic
    Focus Method (IView)
    In This Topic
    Set the focus to a given element.
    Syntax
    'Declaration
     
    
    Function Focus( _
       ByVal e As Element _
    ) As Boolean
    bool Focus( 
       Element e
    )

    Parameters

    e
    Element to receive the focus.

    Return Value

    True if the focus was set to the given element.
    See Also