DateControl REALbasic Plugin

DateControl Control

DateControl is to create a platform native date selection control.

Note:
The control uses native date selectors for each OS, and therefore the limitations and look and feel will depend on the Target operating system.

Please note that dates in the MacOS Date control are limited from the year 1904 to the year 2039.

Because of REALbasic 2005 IDE limitations then the control is not fully drawn while in IDE design mode.

RectControl
   DateControl

control DateControl

Properties

CheckedWhen the control is set to be able to represent empty dates then setting this property to true will mean that the date is not empty. In same way then setting it to false will mean the date is empty.
DateFormatDefines the display format of the date.
DateValueUse this property to set or get the date of the control.
DayUse this property to set or get the Day value of the control.
EmptyDatesSet this property to true if the control should be able to represent empty dates.
LinuxFontBoldUse this property to determine if the font on Linux targets should be bold faced.
LinuxTextFontUse this property to determine the font on Linux Targets.
LinuxTextSizeUse this property to determine the font size on Linux Targets.
MacFontBoldUse this property to determine if the font on MacOS targets should be cold faced.
MacTextFontUse this property to determine the font on MacOS Targets.
MacTextSizeUse this property to determine the font size on MacOS Targets.
MonthUse this property to set or get the Month value of the control.
WinFontBoldUse this property to determine if the font on Windows targets should be cold faced.
WinTextFontUse this property to determine the font on Windows Targets.
WinTextSizeUse this property to determine the font size on Windows Targets.
YearUse this property to set or get the Year value of the control.

Methods

SetFocusUse this method to manually give the control focus.

Events

GotFocusThis event is fired when a the control gets the input focus.
LostFocusThis event is fired when a the control looses the input focus.
MacMouseDownThis event is fired when a when the Mouse goes down on the control. This event is only fired on MacOS Targets.
ValueChangedThis event is fired when a portion or all of the date changes in the control.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86