PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • How to proceed?
  • Programming
  • Properties available in a window
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Handling a day found in a Calendar control by programming
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to handle by programming:
Versions 15 and later
Java The Calendar control is now available for the Java applications.
New in version 15
Java The Calendar control is now available for the Java applications.
Java The Calendar control is now available for the Java applications.
Versions 18 and later
iPhone/iPad The Calendar control is now available for the iPhone/iPad applications.
Android The Calendar control is now available for the Android applications.
WINDEVLinux The Calendar control is now available for the WINDEV applications in Linux.
New in version 18
iPhone/iPad The Calendar control is now available for the iPhone/iPad applications.
Android The Calendar control is now available for the Android applications.
WINDEVLinux The Calendar control is now available for the WINDEV applications in Linux.
iPhone/iPad The Calendar control is now available for the iPhone/iPad applications.
Android The Calendar control is now available for the Android applications.
WINDEVLinux The Calendar control is now available for the WINDEV applications in Linux.
Versions 21 and later
Universal Windows 10 App The Calendar control is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App The Calendar control is now available in Universal Windows 10 App mode.
Universal Windows 10 App The Calendar control is now available in Universal Windows 10 App mode.
How to proceed?

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"]..BrushColor = LightRed
Several properties can be used to handle a day in a Calendar control.
WINDEVAndroidiPhone/iPadWindows MobileUniversal Windows 10 AppJava

Properties available in a window

The following properties are used to handle a day of a Calendar control found in a window:
Versions 09 and later
BrushColor
New in version 09
BrushColor
BrushColor
..BrushColor is used to manage the background color of a control, window, page or report block.
Versions 09 and later
Color
New in version 09
Color
Color
..Color is used to find out and modify the color of the font 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
..Font is used to:
  • Find out the identifier of the font used in a control found in a report, in a page or in a window.
  • Modify the font used in a control found in a report, in a page or in a window
Versions 09 and later
FontBold
New in version 09
FontBold
FontBold
..FontBold is used to:
  • Find out whether a text is bold or not.
  • Modify the weight of a text
Versions 09 and later
FontCondensed
New in version 09
FontCondensed
FontCondensed
..FontCondensed is used to:
  • Find out whether the characters in a text are condensed or not.
  • Condense (or not) the characters in a text
Versions 09 and later
FontExtended
New in version 09
FontExtended
FontExtended
..FontExtended is used to:
  • Find out whether the characters in a text are extended or not.
  • Extend (or not) the characters displayed in a text
Versions 09 and later
FontItalic
New in version 09
FontItalic
FontItalic
..FontItalic is used to:
  • Find out whether the italic attribute is assigned to a text.
  • Modify the italic attribute of a text
Versions 09 and later
FontLarge
New in version 09
FontLarge
FontLarge
..FontLarge is used to:
  • Find out whether the characters in a text are enlarged or not.
  • Enlarge (or not) the characters in a text
Versions 09 and later
FontName
New in version 09
FontName
FontName
..FontName is used to:
  • Find out the font used in a control.
  • Modify the font used in a control
Versions 09 and later
FontSize
New in version 09
FontSize
FontSize
..FontSize is used to:
  • Find out the size of the font used in a control.
  • Modify the size of the font used in a control
Versions 09 and later
FontStrikeOut
New in version 09
FontStrikeOut
FontStrikeOut
..FontStrikeOut is used to:
  • Find out whether a text is struck out or not.
  • Strike out (or not) the text displayed 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
..HorizontalAlignment is used to find out and modify the horizontal alignment of a control.
Versions 09 and later
Name
New in version 09
Name
Name
..Name is used to find out:
  • 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 19 and later
Pane
New in version 19
Pane
Pane
..Pane is used to
  • Find out the pane tabs associated with a control
  • Define the pane tabs associated with a control.
Versions 09 and later
ToolTip
New in version 09
ToolTip
ToolTip
..ToolTip is used to find out and modify the text displayed in the tooltip associated with a control found in a window or in a page.
Versions 09 and later
Value
New in version 09
Value
Value
..Value 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
..VerticalAlignment is used to find out and modify the vertical alignment of a control.
Versions 21 and later
WinEditAllowed
New in version 21
WinEditAllowed
WinEditAllowed
..WinEditAllowed is used to find out and modify the operations allowed on a control when the window switches to "Edit by the end user" mode.
Note: Some properties may not be available according to the platform used. See the help page about the property for more details.
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
BrushColor
New in version 09
BrushColor
BrushColor
..BrushColor is used to manage the background color of a control, window, page or report block.
Versions 09 and later
Color
New in version 09
Color
Color
..Color is used to find out and modify the color of the font 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
..Font is used to:
  • Find out the identifier of the font used in a control found in a report, in a page or in a window.
  • Modify the font used in a control found in a report, in a page or in a window
Versions 09 and later
FontBold
New in version 09
FontBold
FontBold
..FontBold is used to:
  • Find out whether a text is bold or not.
  • Modify the weight of a text
Versions 09 and later
FontItalic
New in version 09
FontItalic
FontItalic
..FontItalic is used to:
  • Find out whether the italic attribute is assigned to a text.
  • Modify the italic attribute of a text
Versions 09 and later
FontName
New in version 09
FontName
FontName
..FontName is used to:
  • Find out the font used in a control.
  • Modify the font used in a control
Versions 09 and later
FontSize
New in version 09
FontSize
FontSize
..FontSize is used to:
  • Find out the size of the font used in a control.
  • Modify 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
..HorizontalAlignment is used to find out and modify the horizontal alignment of a control.
Versions 09 and later
Name
New in version 09
Name
Name
..Name is used to find out:
  • 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
..ToolTip is used to find out and modify the text displayed in the tooltip associated with a control found in a window or in a page.
Versions 09 and later
Value
New in version 09
Value
Value
..Value 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
..VerticalAlignment is used to find out and modify 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
BrushColor
New in version 09
BrushColor
BrushColor
..BrushColor is used to manage the background color of a control, window, page or report block.
Versions 09 and later
Color
New in version 09
Color
Color
..Color is used to find out and modify the color of the font 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
..HorizontalAlignment is used to find out and modify the horizontal alignment of a control.
Versions 09 and later
Name
New in version 09
Name
Name
..Name is used to find out:
  • 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
..Opacity is used to find out and define the percentage of opacity for a window or for the controls found in a window or in a page.
Versions 09 and later
ToolTip
New in version 09
ToolTip
ToolTip
..ToolTip is used to find out and modify the text displayed in the tooltip associated with a control found in a window or in a page.
Versions 09 and later
Value
New in version 09
Value
Value
..Value 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
..VerticalAlignment is used to find out and modify the vertical alignment of a control.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment