![]() |
Resource Files HoTo? |
Post Reply ![]() |
Author | |
cschmuck ![]() Newbie ![]() Joined: 08 November 2006 Location: Austria Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() 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
But where do i get the PropertyGridGlobalSettings object from? Would be great if someone could give me a hint. Clemens |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Try to create GlobalSettings object using its progId:
Codejock.PropertyGridGlobalSettings.10.3.1
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cschmuck ![]() Newbie ![]() Joined: 08 November 2006 Location: Austria Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
vicos ![]() Groupie ![]() Joined: 23 November 2009 Location: Romania Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
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/ |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |