Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Resource Files HoTo?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resource Files HoTo?

 Post Reply Post Reply
Author
Message
cschmuck View Drop Down
Newbie
Newbie


Joined: 08 November 2006
Location: Austria
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote cschmuck Quote  Post ReplyReply Direct Link To This Post Topic: Resource Files HoTo?
    Posted: 08 November 2006 at 10:57am
Hello,
I'm currently testing the property grid ActiveX control with Visual Foxpro.
I could not find a way how to load a resource file to translate the control to german. The documentation gives an example in VB
Private Sub Form_Initialize()
    PropertyGridGlobalSettings.ResourceFile = App.Path & "XTPResourceDe.dll"
End Sub

But where do i get the PropertyGridGlobalSettings object from?

Would be great if someone could give me a hint.

Clemens
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: 08 November 2006 at 11:31am

Hi,

 
Try to create GlobalSettings object using its progId:
Codejock.PropertyGridGlobalSettings.10.3.1
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cschmuck View Drop Down
Newbie
Newbie


Joined: 08 November 2006
Location: Austria
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote cschmuck Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2006 at 11:48pm
That was it. Thanks!

So for anyone using the property grid with VFP here's the code for initializing the PropertyGridGlobalSettings object:

LOCAL loGlobal AS Codejock.PropertyGridGlobalSettings.10.3.1
loGlobal = NEWOBJECT("Codejock.PropertyGridGlobalSettings.10.3.1")
loGlobal.ResourceFile = App.DirLocalSettings + "SuitePro.ResourceDe.dll"

Clemens
Back to Top
vicos View Drop Down
Groupie
Groupie


Joined: 23 November 2009
Location: Romania
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote vicos Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2013 at 4:16pm

Another example in VFP

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

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

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.188 seconds.