PDA

View Full Version : Task Panel ComResourceFile



Renato Villa
3-Apr-2009, 04:53 AM
Hi All,

i've tryed to do the same that i've in the CalendarControl to set ComResourceFile in the TaskPanel without results.
First Attempt:
In the cSigCjGlobalSetting.pkg


Object oSigCjGlobalSetting is a cSigCjGlobalSetting
Set peAutoCreate to acAutoCreate
Procedure onCreate
Forward Send onCreate
Set ComResourceFile to "C:\Programmi\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v12.1.0\Bin\Translations\SuitePro.ResourceIt.dll"
End_Procedure
End_Object

Second Attempt:
In the SigCjLibraries.pkg



Use DFAllEnt.pkg
Use cCJStandardCommandBarSystem.pkg
Use cSigCJCommandBarSystem.pkg
Use Codejock.Calendar.v12.1.0.pkg
Use Codejock.Controls.v12.1.0.pkg
Use Codejock.ReportControl.v12.1.0.pkg
Use Codejock.ShortcutBar.v12.1.0.pkg
Use cComDockingPane.pkg
Use cComPropertyGrid.pkg
Use cComSkinFramework.pkg
Use cComSyntaxEdit.pkg
Use cComTaskPanel.pkg
Use cSigCJGlobalSettings.pkg
Use cSigCJDockingPane.pkg
Use cSigCJShortcutBar.pkg
Use cSigCJTaskPanel.pkg
Object oTaskPaneGlobalSetting is a cComTaskPanelGlobalSettings
Set peAutoCreate to acAutoCreate
Procedure onCreate
Forward Send onCreate
Set ComResourceFile to "C:\Programmi\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v12.1.0\Bin\Translations\SuitePro.ResourceIt.dll"
End_Procedure
End_Object



Third Attempt:
In the cSigCjTaskPanel.pkg



Class cSigCJTaskPanel is a cComTaskPanel
-----
-----
{ MethodType=Event }
Procedure OnCreate
Forward Send OnCreate
Set ComResourceFile of (ghoSigCjGlobalSetting) to "C:\Programmi\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v12.1.0\Bin\Translations\SuitePro.ResourceIt.dll"
Set Visible_State to (Private.pbVisible(Self))
Set ComIcons to (ComIcons(ghoSigCjGlobalSetting))
Set pvComObject of (phoGroupCollection(Self)) to (ComGroups(Self))
-----
etc



What i need to do this

Thank's in advance

Renato Villa
3-Apr-2009, 07:33 AM
Solved,
the way is that i need it in DockingPanel and not in Task panel

In the cSigCjGlobalSetting.pkg



Object oSigCjDockingSetting is a cComDockingPaneGlobalSettings
Set peAutoCreate to acAutoCreate
Procedure onCreate
Forward Send onCreate
Set ComResourceFile to "C:\Programmi\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v12.1.0\Bin\Translations\SuitePro.ResourceIt.dll"
End_Procedure
End_Object

Martin
3-Apr-2009, 12:28 PM
We have added this to the To Do List. :)

Renato Villa
6-Apr-2009, 04:57 AM
Thank's Martin