PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
  • Overview
  • An automatic calendar
  • Implementation
  • Translating the calendar
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
Overview
The Date edit control automatically propose a "Calendar" option in their popup menu. This option is used to display a calendar and to select a date. The user has the ability to click a date in order for this date to be selected and to be displayed in the edit control.
An automatic calendar

Implementation

The "Calendar" option found in the popup menu of the Date edit controls is automatic.
You also have the ability to display a "Calendar" button on the right of the input area of the control. To do so, check "Display a calendar button" in the "General" tab of the edit control. The "Edit calendar..." button allows you to customize the style of the calendar.
By programming:
  • ..ButtonCalendar is used to find out and indicate whether a Date edit control proposes a button to display a popup calendar.
  • AAFExecute (or ExecuteAAF) associated with the aafCalendar constant is used to display the calendar below the specified edit control.
  • AAFDisable (or DisableAAF) associated with the aafCalendar constant deletes the "Calendar" option from the popup menu of the specified edit control.
  • AAFChangeCaption is used to:
    • modify the caption of the "Calendar" menu option (aafCalendar constant).
    • Versions 25 and later
      modify the caption of the "Today" button in the calendar window (aafToday constant.
      New in version 25
      modify the caption of the "Today" button in the calendar window (aafToday constant.
      modify the caption of the "Today" button in the calendar window (aafToday constant.

Translating the calendar

The calendar is supplied in English and in French.
Some parameters can be translated. See Calendar control for more details.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment