Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Change Theme for VB/Access
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Theme for VB/Access

 Post Reply Post Reply
Author
Message Reverse Sort Order
rmcgaffic View Drop Down
Groupie
Groupie


Joined: 03 June 2011
Location: Pittsburgh, PA
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcgaffic Quote  Post ReplyReply Direct Link To This Post Topic: Change Theme for VB/Access
    Posted: 29 August 2019 at 11:20am
I'm going to answer my own question.

Setting the theme by VB code is not necessary.  

When using this control with MS Access 2016, click on the control's Other tab, and select the combo box for Visual Theme. 

The drop down list shows xtpCalendarTheme2016.

When you select this option, you can not save it. 

The property value reverts back to xtpCalendarTheme2013.

So version 19 of the Calendar Control unfortunately does not seem to be updated with Office 2016 Themes. 

Any guess when this might happen?
Back to Top
rmcgaffic View Drop Down
Groupie
Groupie


Joined: 03 June 2011
Location: Pittsburgh, PA
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcgaffic Quote  Post ReplyReply Direct Link To This Post Posted: 27 August 2019 at 2:31pm
I have recently purchased Calendar ActiveX version 19. 

Here is my code for the OnLoad event: 

Option Compare Database
  
Public Property Theme() As Object
    
Private Sub Form_Load()
  Me.CalendarControl0.SetTheme CalendarThemeOffice2016
End Sub

The Public statement is erroring with the message:
Expected Get or Let or Set

This all the documentation I can find in the help and the sample is ancient.

Can anyone just code revisions to all the calendar to display using the Office 2016 themes

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