|
|
|
|
|
<Calendar>.Select (Function) In french: <Calendrier>.Select Returns the date selected in a Calendar control.
// Displays the selected date in a trace window Trace(CAL_Calendar1.Select())
// Retrieves the date in an edit control EDT_Date = CAL_Calendar1.Select()
Syntax
<Result> = <Calendar control>.Select([<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
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|