Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTimeSpan Class / DefaultActiveField Property


DefaultActiveField Property (GcTimeSpan)
Gets or sets the default active field.
Syntax
'Declaration
 
Public Property DefaultActiveField As TimeSpanField
 
'Usage
 
Dim instance As GcTimeSpan
Dim value As TimeSpanField
 
instance.DefaultActiveField = value
 
value = instance.DefaultActiveField

Property Value

A GrapeCity.Win.Views.Field value indicates the default active field.
The defalut is a null reference (Nothing in Visual Basic).
Exceptions
ExceptionDescription
The specified field don't exist in the GrapeCity.Win.Views.FieldCollection.
Remarks
When the control got focus, the default active field will got the focus. And if the value of the HighlightText property is HighlightText.Field, all of the text in the field will be selected. Otherwise, caret will only move to the first input position.
See Also