"currentSectionIndex"
This attribute holds the index of the DateTimeEdit widget's current section.
Synopsis
shape.currentSectionIndex(string section);
Parameter
Parameter | Description |
---|---|
shape | Name of the object. |
section | Index of the currently selected section (starting from 0) |
Description
This attribute holds the index of the DateTimeEdit widget's current section. The value (year, month, etc.) of the currently selected section can be changed by the spin buttons.
Example
main()
{
DateTimeEdit_ewo1.currentSectionIndex(2);
DebugN(DateTimeEdit_ewo1.currentSectionIndex());
}
Assignment
DateTimeEdit Widget