Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Saving Calendar Options?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Saving Calendar Options?

 Post Reply Post Reply
Author
Message
Stilki View Drop Down
Groupie
Groupie


Joined: 27 May 2005
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Stilki Quote  Post ReplyReply Direct Link To This Post Topic: Saving Calendar Options?
    Posted: 05 May 2007 at 10:19pm
Hello CJ,
 
When you set the data provider to Access, the Calendar saves the state of the CalendarControl.Options object in the Access database to an Options table automatically. If you set the data provider to Custom, there is no provision to save the CalendarControl.Options.
Unlike the CalendarThemeOffice2007 object, it has a DoPropExchange method that you can save the state of the theme.
 
I have looked through the Calendar sample as well as the Help file and could not find a method to automatically save the state of the CalendarControl.Options object when connecting to a custom data provider.
 
Is there or will there be some sort of 'DoPropExchange' for the CalendarControl.Options so that we can save the state of the options locally to an instance of the CalendarControl instead of a database where it may be used in a multi-user environment?
 
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2007 at 8:17am
Hi,

Yes, for now the option to save/load options in a single bunch looks to be missed.

However, there is an event OptionsChanged which you can use to handle changes in Options collection and to update them one by one in the database.

--
WBR,
Serge
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.203 seconds.