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 FontAppointmentContent property is used to:
  • Find out the characteristics of the font used for the content of appointments in the Scheduler and Organizer reports.
  • Modify the characteristics of the font used for the content of appointments in the Scheduler and Organizer reports.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Characteristics of font used for the SCH_Scheduler control in the RPT_Scheduler report
MyFont is Font
 
MyFont = SCH_SCHEDULER.FontAppointmentContent
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 content of appointments Hide the details

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

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

<Control used>.FontAppointmentContent = <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 will be used for the content of appointments.
Remarks
The FontAppointmentContent property only applies 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