Print Page | Close Window

SOLVED: GlobalSettings

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=12070
Printed Date: 26 September 2024 at 12:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: GlobalSettings
Posted By: AndyWilton
Subject: SOLVED: GlobalSettings
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: AndyWilton
Date 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


Posted By: Oleg
Date Posted: 08 September 2008 at 3:15pm
Hello,
Just try. it will work automatically.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: AndyWilton
Date 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


Posted By: Oleg
Date 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


Posted By: AndyWilton
Date 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


Posted By: AndyWilton
Date 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


Posted By: Oleg
Date Posted: 10 September 2008 at 9:01am
Hi,
Actually I'm kind of CTO here :)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date 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....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net