ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Calendar functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Example
DateRésultat is string 
DateRésultat = CalendarPicker()
DateRésultat is string 
DateRésultat = CalendarPicker("20090101", "Choisissez une 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).
If this parameter is not specified or is an empty string (""), the current date is selected by default.
<Window title>: Optional character string
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
Component: wd300obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help