ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Calendar control
  • Overview
  • How to?
  • Programming
  • Properties available in a window
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
Manipulating days in a Calendar control programmatically
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to programmatically manipulate the following elements:
How to?

Programming

To handle days in a Calendar control, use the following syntax:
<Calendar control>[<Date>]
For example:
// Displays the date on a red background
CAL_Calendar1["20120701"].BackgroundColor = LightRed
Several properties can be used to handle a day in a Calendar control.
WINDEVUniversal Windows 10 AppJava

Properties available in a window

The following properties are used to manipulate a day of a Calendar control found in a window:
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
FontThe Font property is used to
  • Get the identifier of the font used in a control in a report, page or window.
  • Change the font used in a control in a report, page or window.
FontBoldThe FontBold property is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
FontCondensedThe FontCondensed property is used to:
  • Determine if characters in a text are condensed.
  • Condense (or not) the characters in a text.
FontExtendedThe FontExtended property is used to:
  • Find out whether the spacing between characters in a text is increased.
  • Increase the spacing between characters in a text.
FontItalicThe FontItalic property is used to:
  • Determine if the text is italicized.
  • Apply or remove italic formatting from the text.
FontLargeThe FontLarge property is used to:
  • Determine if the text is expanded.
  • Expand the text.
FontNameThe FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
FontSizeThe FontSize property is used to:
  • Identify the size of the font used in a control.
  • Change the size of the font used in a control.
FontStrikeOutThe FontStrikeOut property is used to:
  • Determine if the text displayed is struck through.
  • Apply strikethrough formatting (or not) the text displayed in a control.
FontUnderlinedThe FontUnderlined property is used to:
  • Determine if the text is underlined.
  • Underline (or not) a text.
HorizontalAlignmentThe HorizontalAlignment property gets and changes the horizontal alignment of a control.
NameThe Name property is used to get:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
PaneThe Pane property is used to:
  • Find out the pane tabs associated with a control.
  • Define the pane tabs associated with a control.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VerticalAlignmentThe VerticalAlignment property gets and changes the vertical alignment of a control.
WinEditAllowedThe WinEditAllowed property is used to determine and configure the actions allowed on a control when the window switches to "Allow end users to modify the UI" mode.
Remark: Depending on the platform used, some properties may not be available. For more details, see the property's help page.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/10/2024

Send a report | Local help