Codejock Forums Homepage
Forum Home Forum Home > General > Articles and Tutorials
  New Posts New Posts RSS Feed - COM Setting Font in Calendar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

COM Setting Font in Calendar

 Post Reply Post Reply
SuperMario View Drop Down
Admin Group
Admin Group

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Topic: COM Setting Font in Calendar
    Posted: 21 March 2011 at 9:16am
Here is a small sample just for normal event in day view. As you can see you have control over almost all fonts int he calendar so you must set them all separately. Here is an example:

  Dim objThemeOfice2007 As CalendarThemeOffice2007
  Set objThemeOfice2007 = CalendarControl.Theme
  If objThemeOfice2007 Is Nothing Then Exit Sub
  objThemeOfice2007.BaseFont.SIZE = 14
  objThemeOfice2007.DayView.Day.Group.SingleDayEvent.Normal.Subject.Font.SIZE = 14
  objThemeOfice2007.DayView.Day.Group.SingleDayEvent.Normal.Body.Font.SIZE = 14
  objThemeOfice2007.DayView.Day.Group.SingleDayEvent.Normal.Location.Font.SIZE = 14
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.