Print Page | Close Window

cannot find globalsettings object

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1432
Printed Date: 23 April 2024 at 10:57am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: cannot find globalsettings object
Posted By: tobi
Subject: cannot find globalsettings object
Date Posted: 19 November 2004 at 3:50pm

I want to localize the docking panes built-in resources. With the commandbars I can use
commandbars.globalsettings.resourcefile = App.Path & "\xtpresourcede.dll,
but I donīt find the globalsettings object of the dockingpane ?!




Replies:
Posted By: Oleg
Date Posted: 22 November 2004 at 2:40am
DockingPaneGlobalSettings.resourcefile=...

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


Posted By: ylhyh
Date Posted: 24 October 2007 at 10:51pm
Following this usage in no way used in VB.NET  (VS.net 2005):
 
DockingPaneGlobalSettings.resourcefile=
 
help,thanks


Posted By: ylhyh
Date Posted: 25 October 2007 at 2:53am
OK ,it's fine
 
for example:
 
CommandBars.GlobalSettings.ResourceFile = "C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v11.2.0\Bin\Translations\SuitePro.ResourceZhCn.dll"
        Dim dkpGlobalSettings As DockingPaneGlobalSettings = New DockingPaneGlobalSettings()
        dkpGlobalSettings.ResourceFile = "C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v11.2.0\Bin\Translations\SuitePro.ResourceZhCn.dll"


Posted By: KERBEROS
Date Posted: 06 January 2008 at 6:30am
Oleg!
Can u add DokingPane.GlobalSettings property? just like CommandBars.GlobalSettings ?
it's really problem in non VB environment
 


Posted By: Oleg
Date Posted: 06 January 2008 at 2:27pm
Hi,
Try to create DockingPaneGlobalSettings using progid:
 
CreateObject("Codejock.DockingPaneGlobalSettings.11.2.2")


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


Posted By: Raja
Date Posted: 14 January 2009 at 4:51am
I'm using Progress (OpenEdge 10.2) as a developing language.
 
In Progress this looks like:
DEFINE VARIABLE chRcGlobalSettings$v AS COM-HANDLE NO-UNDO.
CREATE "Codejock.ReportControlGlobalSettings.12.1.1":U chRcGlobalSettings$v.
 
So, using CREATE or CREATE OBJECT etc.. its possible to have access to the global settings in a non-VB environment.
 
But is there a way to access the handle of the gobalsettings (after it was created in the way mentioned above) in a non-VB environment ?
 
anyone suggestions ?
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 12.1.1
Platform: Windows XP (32bit) - SP 3
Language: OpenEdge 10.2 (Progress)


Posted By: Oleg
Date Posted: 15 January 2009 at 1:47am
Sorry, have no idea how it works with progress :(

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


Posted By: adwild2
Date Posted: 09 June 2009 at 9:08am
You can acces the handle using the variable you provide in the CREATE statement. Example:

   CREATE CONTROL-FRAME ocx_ShortcutBar
   ASSIGN FRAME                = hp_Window
          TAB-STOP             = FALSE
          HIDDEN               = FALSE
          SENSITIVE            = TRUE.
   ASSIGN ocx_ShortcutBar:NAME = "ocx_ShortcutBar":U .
   ASSIGN chocx_ShortcutBar   = ocx_ShortcutBar:COM-HANDLE
          lg_Tmp              = chocx_ShortcutBar:LoadControls(SEARCH( "shortcutbar.wrx":U ), "ocx_ShortcutBar":U)
          ch_ShortcutBar      = chocx_ShortcutBar:ShortcutBar.
   CREATE "Codejock.ShortcutBarGlobalSettings.13.0.0":U ch_GlobalSettings.
   IF VALID-HANDLE( ch_GlobalSettings ) THEN
      ASSIGN ch_GlobalSettings:Office2007Images = SEARCH( "Office2007Black.dll":U ).


-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP SP3 (32bit)
Language: Progress OpenEdge 10.2A



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