Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - cannot find globalsettings object
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

cannot find globalsettings object

 Post Reply Post Reply
Author
Message
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: cannot find globalsettings object
    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 ?!

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2004 at 2:40am
DockingPaneGlobalSettings.resourcefile=...
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ylhyh View Drop Down
Newbie
Newbie


Joined: 24 October 2007
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote ylhyh Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2007 at 10:51pm
Following this usage in no way used in VB.NET  (VS.net 2005):
 
DockingPaneGlobalSettings.resourcefile=
 
help,thanks
Back to Top
ylhyh View Drop Down
Newbie
Newbie


Joined: 24 October 2007
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote ylhyh Quote  Post ReplyReply Direct Link To This Post 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"
Back to Top
KERBEROS View Drop Down
Newbie
Newbie


Joined: 28 December 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote KERBEROS Quote  Post ReplyReply Direct Link To This Post 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
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Raja View Drop Down
Newbie
Newbie


Joined: 13 January 2009
Location: Belgium
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Raja Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2009 at 1:47am
Sorry, have no idea how it works with progress :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
adwild2 View Drop Down
Groupie
Groupie
Avatar

Joined: 17 December 2008
Location: Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote adwild2 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.