ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with reports and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The CaptionPeriodHeader property gets and sets the caption of the time period displayed in the header of a Scheduler or Agenda control in a report.
Example
// Evénement "Avant impression" du bloc d'entête
PLN_MonPlanning.LibellePériodeEntête = ...
	" Semaine du " + DateToString(PLN_MonPlanning.DateDébutPériodeAffichée) + ...
	" au " + DateToString(PLN_MonPlanning.DateFinPériodeAffichée)
Syntax

Finding out the caption of the period Hide the details

<Period caption> = <Control used>.CaptionPeriodHeader
<Period caption>: Character string
Caption of the period displayed in the control header.
<Control used>: Control name
Name of the Scheduler or Organizer control in the report.

Modifying the caption of the period Hide the details

<Control used>.CaptionPeriodHeader = <New caption text>
<Control used>: Control name
Name of the Scheduler or Organizer control found in the report.
<New caption text>: Character string
New caption of the period to display in the control header.
Remarks
  • Called in the "Before printing" event of the header block, the property CaptionPeriodHeader PROPERTY property can be used to modify the label displayed by default, in order to display it in a specific language (e.g. display the label in Polish).
  • The CaptionPeriodHeader property has no effect on Scheduler reports with resources displayed by columns, because there are no captions in this case.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help