Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSDatePickerMBS class

Super class: NSControlMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa Controls MBS MacControls Plugin 12.2 Yes No No Yes, macOS only No
Function: The plugin class for a Cocoa date picker.
Notes:
NSDatePicker is a subclass of NSControl that provides a user interface for displaying and editing an NSDate object.
Subclass of the NSControlMBS class.

Feedback, Comments & Corrections

Date Picker Style Constants

Constant Value Description
NSClockAndCalendarDatePickerStyle 1 Provide a visual clock and calendar style interface.
NSTextFieldAndStepperDatePickerStyle 0 Provide a text field and stepper style interface.
NSTextFieldDatePickerStyle 2 Provide a text field interface.

Element Flag Constants

Constant Value Description
NSEraDatePickerElementFlag &h100 Display and allow editing of the era of the date, if applicable.
This flag has been declared for possible future use, and does not yet have any effect.
NSHourMinuteDatePickerElementFlag &hC Display and allow editing of the hour and minute elements of the date.
NSHourMinuteSecondDatePickerElementFlag &hE Display and allow editing of the hour, minute and second elements of the date.
NSTimeZoneDatePickerElementFlag &h10 Display and allow editing of the time zone.
This flag has been declared for possible future use, and does not yet have any effect.
NSYearMonthDatePickerElementFlag &hC0 Display and allow editing of the year and month elements of the date.
NSYearMonthDayDatePickerElementFlag &hE0 Display and allow editing of the year, month and day elements of the date.

Date Picker Mode Constants

Constant Value Description
NSRangeDateMode 1 Allow selection of a range of dates. (First implemented in Mac OS X v 10.5.)
NSSingleDateMode 0 Allow selection of a single date.

Super class NSControlMBS

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

This class has no sub classes.

Some properties using for this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacCocoa Plugin, MBS MacControls Plugin.


NSDateComponentsMBS   -   NSDirectoryEnumeratorMBS




Links
MBS FileMaker Plugins