|
|
|
|
|
CalendarSelect (Function) In french: CalendrierSelect Returns the date selected in a Calendar control.
// Displays the selected date in a trace window Trace(CalendarSelect(CAL_Calendar1)) // Retrieves the date in an edit control EDT_Date = CalendarSelect(CAL_Calendar1) Syntax
<Result> = CalendarSelect(<Calendar control> [, <Index of the selected element>])
<Result>: Character string or Date variable Day selected in the Calendar control. This parameter has the following format: "YYYYMMDD". For example, if the selected day is November 12 2008, <Result> is equal to "20081112". <Calendar control>: Control name Name of Calendar control used. <Index of the selected element>: Optional integer Rank of selection for a multi-selection calendar. If this parameter is not specified, the date corresponding to the first selected element is returned.
Related Examples:
|
Unit examples (WINDEV): The Calendar control
[ + ] Four methods for using the Calendar control: - Using the Calendar control found in the WINDEV toolbar - Using CalendarOpen and CalendarPicker as well as CalendarSelect (multi-selection) - Using ..CalendarButton - Using BankHolidayAdd
|
Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|