Classes

Class XbpDatePicker() Foundation

Class function of the XbpDatePicker class

Description

Objects of the XbpDatePicker class allow for a comfortable selection of a date. They appear on-screen like a combo box but do not have a drop-down list. Instead of the drop-down list, an XbpMonthView object is displayed. This object offers a user a way to select a date from an entire month.

To function properly, the XbpDatePicker class requires a certain system component, the Microsoft Common Controls 2 Version 6.0, to be installed on your computer. Normally, this component is not installed along with the operating system, so provisions must be taken to distribute the component with your Xbase++ application. For further information, please see the 'File Info' section on this page.

Life cycle
:init()
Initializes instance variables.
:create()
Requests system resources for the object.
:destroy()
Releases the system resources of the object.
Methods for editing
:editBuffer()
Returns the current value in the edit buffer.
:getData()
Reads the current value of the edit buffer and passes it to :dataLink
:setData()
Assigns a value to the edit buffer.
Configuration
:customFormat
Defines formatting rules for a customized date format.
:day
The current day.
:format
Defines a predefined date format.
:hour
The current hour.
:maxDate
The upper limit of a date range.
:minDate
The lower limit of a date range.
:minute
The current minute.
:second
The current second.
Messages
xbeP_ItemMarked
A date is marked.
xbeP_ItemSelected
A date is selected.
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.