Print Page | Close Window

I cant find globalsettings in VFP

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=2705
Printed Date: 27 September 2024 at 11:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: I cant find globalsettings in VFP
Posted By: mav50202
Subject: I cant find globalsettings in VFP
Date Posted: 09 August 2005 at 2:16pm
I use Visual Fox Pro and I want to localize the docking panes colormanager object or  SuiteControlsGlobalSettings in my form of Visual Fox Pro, i have no problem with my commandbar because I can use:

thisform.commandbar.globalsettings.colormanager.systemthem e  = 2

But I donīt find the globalsettings object in my dockingpane or in the rest of objects as Shortcut or Taskpanel.

Thank for all friends



Replies:
Posted By: SuperMario
Date Posted: 09 August 2005 at 2:19pm
That is because there is no specific property for them like commandbars.  Instead, there is a separate class, DockingPaneGlobalSettings, SuiteGlobalSettings, etc...


Posted By: mav50202
Date Posted: 09 August 2005 at 2:22pm
Thank for your fast reply.
My problem is that i dont know to localize the class DockingPaneGlobalSettings or the class SuiteGlobalSettings. It dont exist this objects or classes in my form.

Thanks SuperMario


Posted By: SuperMario
Date Posted: 09 August 2005 at 2:32pm
I don't use FoxPro, but in VB you just insert the code like:

DockingPaneGlobalSettings.App = App
DockingPaneGlobalSettings.License = ....



Posted By: mav50202
Date Posted: 09 August 2005 at 2:38pm
Ok, so thank you for your help

When i put this code in VFP, VFP says

"DockingPaneGlobalSettings dont exist this object"

My problem is  the way of access to this class, VFP dont recognize this object in the form.


Posted By: mav50202
Date Posted: 09 August 2005 at 3:08pm
Other data of interesting is that in VFP dont exist 4 Controls of CodeJock for insert in the forms else exist 11 objects

Commandbars
DockingPane
ImageManager
Popup Control
Property Grid
Report Control
Report Field Chooser
ShortCutbar
ShortCutCaption
TabControl
TaskPanel

while in VB exist only 4 controls Command, Docking, Report and only one Activex with SuiteControls.

Maybe exist problems with xtreme suite objects and VFP classes.




Posted By: mav50202
Date Posted: 12 August 2005 at 5:59am
Great!!!
I found the solution, in form in load method, wrote this code:

x=CREATEOBJECT("XtremeDockingPane.DockingPaneGlobalSetting s")
x.ColorManager.SystemTheme = 3

Thank very much for your help


Posted By: vicos
Date Posted: 01 February 2013 at 4:14pm

Another example in Foxpro:

http://expertsoftwarecompany.wordpress.com/2012/06/07/codejock-sample-update-taskpanel-example/

http://expertsoftwarecompany.wordpress.com/2012/06/05/codejock-samples/




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