PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
..CaptionPeriodHeader is used to find out and modify the content of the period caption displayed in the header of a Scheduler or Organizer control found in a report.
Example
// "Before printing" event of the header block
SCH_MySchedule..CaptionPeriodHeader = ...
" Week from " + DateToString(SCH_MySchedule..StartDatePeriodDisplayed) + ...
" to " + DateToString(SCH_MySchedule..EndDatePeriodDisplayed)
Syntax

Finding out the caption of the period Hide the details

<Period caption> = <Control name>..CaptionPeriodHeader
<Period caption>: Character string
Caption of the period displayed in the control header.
<Control name>: Character string (with or without quotes)
Name of the Scheduler or Organizer control found in the report.

Modifying the caption of the period Hide the details

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