ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Calendar functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
CalendarOpen (Function)
In french: CalendrierOuvre
In a Date edit control, opens a popup window displaying a calendar. The edit control takes focus.
Example
// Displays the calendar associated with the edit control
CalendarOpen(EDT_Date)
Syntax
CalendarOpen(<Edit control>)
<Edit control>: Control name
Name of the Date edit control for which the calendar must be displayed in a popup window.
Remarks
  • CalendarOpen can be used on Date edit controls that do not have a calendar button, or those for which the "Calendar" option was disabled in the context menu.
  • CalendarOpen can be used on Date columns in Table controls: however, the Table control and the column must be editable. Otherwise, CalendarOpen has no effect.
  • CalendarOpen can only be used on the Date Edit controls. It cannot be used on the Date edit controls that also display a time.
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: 06/22/2023

Send a report | Local help