Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding the path to the VCX
Message
From
20/12/2000 11:08:04
 
 
To
20/12/2000 09:47:35
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00455373
Message ID:
00455440
Views:
35
Thanks for the response Trey.

Unfortunately this SYS command returns the same value as the 'ClassLibrary' property of the object, that is the path to the VCX of the parent class, not the class currently being constructed.



>>Does anyone know how to find out the path to the VCX holding the class that is currently in design mode?
>>
>>I want to use this in a builder, so that I can programmatically add other classes to the same library.
>>
>>I have tried the ClassLibrary property, but this returns the location of the VCX holding the Parent-Class of the class being designed.
>>
>>Any ideas anyone...?
>
ASELOBJ(laObj,1)
>lcCurrentClass = SYS(1271, laObj[1])
>The help says SYS(1271) only works on SCX files, but it works on VCX's as well.
>(At least in 6.0 SP3)
Regards,

Mark A Tonks
Senior E-Business Developer
Halifax plc
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform