![]() |
<< Index >> |
FutureBasic |
DatePicker | statement / function | |
|
date = datepicker (tag )
Description
The DatePickerDateValue
.
Parameters
Parameter |
Description |
tag | A number (1 through 1000000) that you assign when you create the datepicker and that you refer to when altering the picker. The number you assign must be different from the tag value of all other existing widgets in the current window. A negative tag hides the datepicker. |
enabled | A boolean value which specifies whether the datepicker should be enabled or disabled. |
date | The initial date to be displayed in the datepicker. This parameter is a |
rect | The datepicker's enclosing rectangle. This can be specified in either of two ways:
(i) (x,y,w,h) where x,y are the origin and w,h the size of the picker.(ii) A |
style | The datepicker style: NSDatePickerStyleTextField |
elements | The elements displayed in the datepicker. These can be combined using '+': NSTimeZoneDatePickerElementFlag NSYearMonthDatePickerElementFlag NSYearMonthDayDatePickerElementFlag NSEraDatePickerElementFlag |
wndTag | An optional parameter for when the datepicker's window is not the current output window. Note specifying this parameter does not bring the window to the front or make it the output window. |
Apple documentation
NSDatePicker