PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
The FontAppointmentTitle property is used to:
  • Find out the characteristics of the font used for the title of appointments in the Scheduler and Organizer reports.
  • Modify the characteristics of the font used for the title of appointments in the Scheduler and Organizer reports.
Example
// Characteristics of font used for the SCH_Scheduler control in the RPT_Scheduler report
MyFont is Font
 
MyFont = SCH_SCHEDULER.FontAppointmentTitle
Trace(MyFont.Name)
Trace(MyFont.Bold)
Trace(MyFont.Underline)
Trace(MyFont.Size)
Trace(MyFont.Color)
// Define the fonts
MyFont is Font
MyFont.Name = "Comic Sans MS"
MyFont.Size = 18
MyFont.Color = PastelBlue
 
MyFont2 is Font
MyFont2.Name = "Courier new"
MyFont2.Size = 14
MyFont2.Color = PastelGreen
 
// Modify the fonts used in the report
SCH_SCHEDULER.FontAppointmentTitle = MyFont
SCH_SCHEDULER.FontAppointmentContent = MyFont2
Syntax

Finding out the font used for the title of appointments Hide the details

<Result> = <Control used>.FontAppointmentTitle
<Result>: Font
Font variable containing the characteristics of the font used for the title of the appointments.
<Control used>: Control name
Name of the Scheduler or Organizer control in a Scheduler or Organizer report.

Modifying the font used for the title of appointments Hide the details

<Control used>.FontAppointmentTitle = <New font>
<Control used>: Control name
Name of Scheduler or Organizer control found in a Scheduler or Organizer report.
<New font>: Font
Font variable containing the characteristics of the font that must be used for the title of the appointments.
Remarks
The FontAppointmentTitle property applies only to Organizer and Scheduler controls in reports.
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment