PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
CalendarPicker (Function)
In French: CalendrierSélecteur
Opens a modal dialog with a calendar to enter a date. A window allows the user to select a date in a calendar. This function requires no Date edit control and no Calendar control.
Versions 15 and later
Java This function is now available for the Java applications.
New in version 15
Java This function is now available for the Java applications.
Java This function is now available for the Java applications.
Example
ResultDate is string
ResultDate = CalendarPicker()
ResultDate is string
ResultDate = CalendarPicker("20090101", "Choose a date:")
Syntax
<Result> = CalendarPicker([<Initial Date> [, <Window Title>]])
<Result>: Character string or Date variable
  • Date selected by the user in YYYYMMDD format,
  • Empty string ("") if the window was closed by the user via the "X" button.
<Initial Date>: Optional character string or Date variable
Date displayed by default in the calendar (in YYYYMMDD format).
The date of the day is selected by default if this parameter is not specified or if it corresponds to an empty string ("").
<Window Title>: Optional character string (with quotes)
Title displayed in the title bar of the window for selecting the date.
Related Examples:
The Calendar control 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
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment