"currentSection"

This attribute holds the current section of the DateTimeEdit Widget.

Synopsis

shape.currentSection(string section);

Parameter

Parameter Description
shape Name of the object.
section

Current section. Possible sections:

  • DaySection

  • MonthSection

  • YearSection

  • HourSection

  • MinuteSection

Description

This attribute holds the current section of the DateTimeEdit Widget. The value (year, month, etc.) of the currently selected section can be changed by the spin buttons.

Example

main()
{
  DateTimeEdit_ewo1.currentSection("MinuteSection"); 
  DebugN(DateTimeEdit_ewo1.currentSection());
}

Assignment

DateTimeEdit Widget