PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP


  • 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
..CalendarButton is used to find out and indicate whether a Date edit control proposes a button to display a popup calendar.
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>..ButtonCalendar
<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>..ButtonCalendar = <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
Reports and Queries

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 ..CalendarButton is used to display a Calendar button in the Date edit control, the "Calendar" option is no longer available in the popup 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 DisableAAF. Remark: To disable the display of the calendar for a project or for a control (via the button or the popup menu), use AAFDisable (or DisableAAF).
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment