ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Win.C1Input Namespace / C1TextBox Class / GoToField Method
Field to select.
a value that determines whether the text should be updated.

In This Topic
    GoToField Method
    In This Topic
    Moves the selection to the specified date-time field. Works only if the DataType property is set to System.DateTime and the date-time input is active.
    Syntax
    'Declaration
     
    Protected Function GoToField( _
       ByVal field As DateTimeField, _
       ByVal updateText As System.Boolean _
    ) As System.Boolean
    protected System.bool GoToField( 
       DateTimeField field,
       System.bool updateText
    )

    Parameters

    field
    Field to select.
    updateText
    a value that determines whether the text should be updated.

    Return Value

    returns true if success.
    Remarks
    Can be used in the UpdateSelection method to customize initial selection if the value type is date-time.
    See Also