Change Theme for VB/Access |
Post Reply |
Author | |
rmcgaffic
Groupie Joined: 03 June 2011 Location: Pittsburgh, PA Status: Offline Points: 14 |
Post Options
Thanks(0)
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?
|
|
rmcgaffic
Groupie Joined: 03 June 2011 Location: Pittsburgh, PA Status: Offline Points: 14 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |