SOLVED: GlobalSettings |
Post Reply |
Author | |
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
GlobalSettings is property of only CommandBars. You need create new object XtremeCalendarControl or CalendarGlobalSettings.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Just try. it will work automatically.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
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 |
|
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Actually I'm kind of CTO here :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
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 |