C1.Win.C1Input.4.8 Assembly / C1.Win.C1Input Namespace / C1DropDownControl Class / GoToField Method
Field to select.
a value that determines whether the text should be updated.

In This Topic
GoToField Method (C1DropDownControl)
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 Boolean _
) As Boolean
 

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 C1TextBox.UpdateSelection method to customize initial selection if the value type is date-time.
See Also