PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • How to?
  • Programming
  • Properties available in a page (server code)
  • Properties available in a page (PHP code
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
Handling a day in a Calendar control through programming
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to handle through programming:
Versions 18 and later
Linux The Calendar control is now available for WINDEV applications in Linux.
New in version 18
Linux The Calendar control is now available for WINDEV applications in Linux.
Linux The Calendar control is now available for WINDEV applications in Linux.
How to?

Programming

To handle a day found in a Calendar control, use the following notation:
<Name of Calendar control>[<Date to handle>]
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.
WEBDEV - Server code

Properties available in a page (server code)

The following properties are used to handle a day of a Calendar control found in a page (server code):
Versions 09 and later
BackgroundColor
New in version 09
BackgroundColor
BackgroundColor
The BackgroundColor property is used to set the background color of a control, window, page or block of a report.
Versions 09 and later
Color
New in version 09
Color
Color
The 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.
Versions 09 and later
Font
New in version 09
Font
Font
The 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.
Versions 09 and later
FontBold
New in version 09
FontBold
FontBold
FontBold is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
Versions 09 and later
FontItalic
New in version 09
FontItalic
FontItalic
FontItalic is used to:
  • Determine if the text is italicized.
  • Apply or remove italic formatting from the text.
Versions 09 and later
FontName
New in version 09
FontName
FontName
The FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
Versions 09 and later
FontSize
New in version 09
FontSize
FontSize
The 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.
Versions 09 and later
FontUnderlined
New in version 09
FontUnderlined
FontUnderlined
FontUnderlined is used to:
  • Find out whether a text is underlined or not.
  • Underline (or not) a text.
Versions 09 and later
HorizontalAlignment
New in version 09
HorizontalAlignment
HorizontalAlignment
The HorizontalAlignment property is used to get and change the horizontal alignment of a control.
Versions 09 and later
Name
New in version 09
Name
Name
The 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.
Versions 09 and later
ToolTip
New in version 09
ToolTip
ToolTip
The ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
Versions 09 and later
Value
New in version 09
Value
Value
The 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.
Versions 09 and later
VerticalAlignment
New in version 09
VerticalAlignment
VerticalAlignment
The VerticalAlignment property is used to get and change the vertical alignment of a control.
PHP

Properties available in a page (PHP code

The following properties are used to handle a day of a Calendar control found in a page (PHP code):
Versions 09 and later
BackgroundColor
New in version 09
BackgroundColor
BackgroundColor
The BackgroundColor property is used to set the background color of a control, window, page or block of a report.
Versions 09 and later
Color
New in version 09
Color
Color
The 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.
Versions 09 and later
HorizontalAlignment
New in version 09
HorizontalAlignment
HorizontalAlignment
The HorizontalAlignment property is used to get and change the horizontal alignment of a control.
Versions 09 and later
Name
New in version 09
Name
Name
The 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.
Versions 09 and later
Opacity
New in version 09
Opacity
Opacity
The Opacity property is used to get and define the opacity percentage for a window, or for controls in a window or page.
Versions 09 and later
ToolTip
New in version 09
ToolTip
ToolTip
The ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
Versions 09 and later
Value
New in version 09
Value
Value
The 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.
Versions 09 and later
VerticalAlignment
New in version 09
VerticalAlignment
VerticalAlignment
The VerticalAlignment property is used to get and change the vertical alignment of a control.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment