PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Operating mode of the Calendar control
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
The CalendarButton property is used to determine and specify whether a Date Edit control has a button to display a popup calendar.
Versions 15 and later
Java This property is now available for Java applications.
New in version 15
Java This property is now available for Java applications.
Java This property is now available for Java applications.
Versions 23 and later
PHP This property is now available for PHP sites.
New in version 23
PHP This property is now available for PHP sites.
PHP This property is now available for PHP sites.
Example
// Displays a Calendar button if necessary
IF EDT_Date.CalendarButton = False THEN
EDT_Date.CalendarButton = True
END
Syntax

Finding out whether a Calendar button is displayed Hide the details

<Result> = <Edit control>.CalendarButton
<Result>: Boolean
  • True if a Calendar button is displayed,
  • False otherwise.
<Edit control>: Control name
Name of the Date edit control to use.

Displaying a Calendar button or not Hide the details

<Edit control>.CalendarButton = <Display>
<Edit control>: Control name
Name of the Date edit control to use.
<Display>: Boolean
  • True if a Calendar button must be displayed,
  • False otherwise.
Remarks
Windows MobileUser code (UMC)

Operating mode of the Calendar control

At run time, the Date edit controls propose the "Calendar" option by default. This option allows you to display a calendar used to select a date.
If the CalendarButton property is used to display a Calendar button in the date Edit control, the "Calendar" option is no longer available in the context menu of the Date control.
Remark: To disable the display of the calendar for a project or for a control (via the button or the popup menu), use AAFDisable.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment