PDA

View Full Version : Language for Report Control



Boris
7-Jun-2010, 04:34 PM
Hi! VDF 15.1 CJ 13.1

I've been using the CJ controls for a while now. Now I'm starting to use the reportcontrol but the header for grouping shows in english instead of spanish.

Why? I have set in the cSigCJGlobalSettings.pkg as follows:


Object oSigCjGlobalSetting is a cSigCjGlobalSetting
Set peAutoCreate to acAutoCreate
Procedure onCreate
Forward Send onCreate
Set ComResourceFile to "SuitePro.ResourceEs.dll"
End_Procedure
End_Object

Thanks in Advanced.

Renato Villa
8-Jun-2010, 04:47 AM
Hi Boris,

i use this in a settings pkg and work's fine



Object oSigCjReportSetting is a cSigCjComReportControlGlobalSettings
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


HTH

Best Regards

Boris
8-Jun-2010, 08:56 AM
I get this error:


- Error 4345: \\onix-app\SYS\SAGE\Libraries\SigCodejock (file://\\onix-app\SYS\SAGE\Libraries\SigCodejock) Classes v1\AppSrc\cSigCJGlobalSettings.pkg (ln 92) Type check error U_CSIGCJCOMREPORTCONTROLGLOBALSETTINGS, MUST BE DEFINED
-- Error 4328: Undefined symbol in argument U_CSIGCJCOMREPORTCONTROLGLOBALSETTINGS

Am I missing something here?
Thanks in advanced

Renato Villa
8-Jun-2010, 11:00 AM
Hi Boris

this is what i have in cSigCJGlobalSettings.pkg



Use SigCjW_DockingPane.pkg
Use SigCjW_Controls.pkg
Use SigCjW_Calendar.pkg
Use cSigCJImage_Manager_Mixin.pkg
Use SigCjW_ReportControl.pkg
Global_Variable Handle ghoSigCjGlobalSetting
Global_Variable Handle ghoSigCjPropEx
Class cSigCjGlobalSetting is a cSigCjComSuiteControlsGlobalSettings
Import_Class_Protocol cSigCJImage_Manager_Mixin

Procedure Construct_Object
Forward Send Construct_Object
Set peAutoCreate to acAutoCreate
Send Initialise_Image_Manager_Mixin
Move (Self) to ghoSigCjGlobalSetting
End_Procedure // Construct_Object

{ MethodType=Event }
Procedure OnCreate
Handle hoImageList
Variant vPropEx
//Handle hoGroups hoCollection hoImageList hoImageManager
//Variant vGroups vImagelist

Forward Send OnCreate

// Connect to Imagelist
Get phoImagelist to hoImageList
If (hoImageList <> 0) Begin
Send Create_Image_Manager // cSigCJImage_Manager_Mixin
End

Send Load_Images
//Create the Property Exchange Object
Get Create U_cSigCjComPropExchange to ghoSigCjPropEx
Get ComCreatePropExchange to vPropEx
Set pvComObject of ghoSigCjPropEx to vPropEx
End_Procedure // OnCreate
Procedure AddItem
End_Procedure
End_Class
//Object oSigCjGlobalSetting is a cSigCjGlobalSetting
//End_Object
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
Object oSigCjDockingSetting is a cSigCjComDockingPaneGlobalSettings
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
Object oSigCjCalGlobalSetting is a cSigCjComCalendarGlobalSettings
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
Object oSigCjReportSetting is a cSigCjComReportControlGlobalSettings
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
//================================================== ============================
//End of Package - cSigCJGlobalSettings.pkg
//================================================== ============================



Best Regards

Boris
8-Jun-2010, 11:32 AM
Thanks a lot, I was missing:

Use SigCjW_ReportControl.pkg

now is showing in spanish.