Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - SOLVED: GlobalSettings
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: GlobalSettings

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

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: GlobalSettings
    Posted: 04 September 2008 at 7:28am
Hi All,
 
I'm trying to set the ResourceFile property but seem to be struggling even gettings to the GlobalSettings!
 
I develop in a language called Clarion and to work with a Codejock control I would simply create an ActiveX holder for the required control and then send Codejock commands directly to the holder.
 
eg: Below is an example where I have created a ActiveX holder for the CommandBars control (called ?CmdBar), and set the ResourceFile property to a resource DLL file etc.
 
?CmdBar{'GlobalSettings.ResourceFile'} = "SomeResource.DLL"
 
The above works fine, but if I try something similar for the Calendar control I get an error - and can't seem to get to the GlobalSettings.
 
If I try and message out the Object ID of the GlobalSettings I get an error.
 
 
Does anybody know what the difference is between getting to the GlobalSettings of the CommandBars and the Calendar controls?
 
 
Just a bit more info which might help.  If I want to work with the 2007Theme, I create a Theme object and use the "SetTheme" method to attach the object to the Calendar control.  I can create a GlobalSettings object but don't know of a way to attach this to the Calendar control - is this the route I should be progressing?
 
 
Any help on this would be greatfully appreciated.
 
Regards,
 
Andy Wilton
 
 
 
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2008 at 3:35am
Hi,
 
GlobalSettings is property of only CommandBars. You need create new object XtremeCalendarControl or CalendarGlobalSettings.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2008 at 1:14pm
Hi Oleg,
 
I can create a CalendarGlobalSettings object but how do I then attach it / use it with the Calendar Object - is there a command I'm missing similar to the AttachToCalendar method that is used to attach the DatePicker object to the Calendar?
 
Regards,
 
Andy
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2008 at 3:15pm
Hello,
Just try. it will work automatically.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2008 at 3:30pm

Hi Oleg,

To be honest I have tried it, but it didn't work.

I'm not sure I totally understand how changing the property of one object will effect the properties of another object?

Regards,

Andy

Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 September 2008 at 1:30am
Hi,
 
ok, so you set ResourceFile property and your calendar don't use it ?    Try to change it before you create Calendar Control.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2008 at 4:31am
Hi Oleg,
 
Yes, I've tried setting it both before and after creating the Calendar object.
 
Any ideas?
 
Regards,
 
Andy
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2008 at 5:07am
Hi Oleg,
 
Sorry, correction - your suggestion worked perfectly!
 
You're quite good at this Codejock stuff - have you thought of doing it professionally
 
 
Thanks for all your help - I'll update the subject to SOLVED.
 
Regards,
 
Andy
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2008 at 9:01am
Hi,
Actually I'm kind of CTO here :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 15 September 2008 at 10:13am
Originally posted by oleg oleg wrote:

Hi,
Actually I'm kind of CTO here :)
 
Hi Oleg,
 
Thats nice to know  Are you also in charge of the alarm clock ? Please, be so kind and set the alarm for the SyntaxEdit developers...(there's one issue for three weeks without any answers) They have overslept and should wake up now (if they are in their wintersleep, let them sleep)
 
Thanks 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
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.