Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding the path to the VCX
Message
De
20/12/2000 11:08:04
 
 
À
20/12/2000 09:47:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00455373
Message ID:
00455440
Vues:
36
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform