Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - How to change all of font name
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change all of font name

 Post Reply Post Reply
Author
Message
Norika View Drop Down
Groupie
Groupie
Avatar

Joined: 30 November 2006
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Norika Quote  Post ReplyReply Direct Link To This Post Topic: How to change all of font name
    Posted: 20 December 2011 at 11:18pm
Hi,
I want to change all font name to "MS UI Gothic" of a CalendarControl for Japanese users but some part of CalenderControl cannot change.
 
Do you know how to change the font of below parts?
 
Private Sub Form_Load()
    Dim objThemeOfice2007 As CalendarThemeOffice2007
    Set objThemeOfice2007 = CalendarControl.Theme
     
    objThemeOfice2007.BaseFont.Name = "MS UI Gothic"
    objThemeOfice2007.BaseFont.SIZE = 12
    objThemeOfice2007.BaseFont.Charset = 128 'Japanese
   
    objThemeOfice2007.DayView.Event.Normal.Subject.Font.Name = "MS UI Gothic"
    objThemeOfice2007.DayView.Event.Normal.Subject.Font.SIZE = 12
    objThemeOfice2007.DayView.Event.Normal.Subject.Font.Charset = 128 'Japanese
   
    objThemeOfice2007.Header.TextCenter.Normal.Font.Name = "MS UI Gothic"
    objThemeOfice2007.Header.TextLeftRight.Normal.Font.Name = "MS UI Gothic"
    objThemeOfice2007.Header.TextLeftRight.Normal.Font.Charset = 128 'Japanese
   
    objThemeOfice2007.MonthView.Header.TextCenter.Normal.Font.Name = "MS UI Gothic"
    objThemeOfice2007.MonthView.Event.Normal.Subject.Font.Name = "MS UI Gothic"
    objThemeOfice2007.MonthView.Event.Normal.Subject.Font.Charset = 128 'Japanese
   
    CalendarControl.SetTheme objThemeOfice2007
 
---
 OS: Windows XP
 IDE: Visual Studio 6.0 with SP6
 Product Version: Xtreme Suite ActiveX v15.2.1

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.188 seconds.