Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User defined properties
Message
 
À
12/01/1999 12:33:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00173950
Message ID:
00175133
Vues:
39
Hi Denis,

>How can I execute my builder at choice of the "Builder" item from RightClick objects menu? At choice is started builder.app which uses ASELOBJ () function... Is it necessary need to REFOX builder.app and recompile the program? Is it possible to add the external unit to the Builder.app?

Let's say your builder is in MyBuilder.SCX. Then you add a property "Builder" to the class that requires it own builder and set this property to "MyBuilder.SCX". This feature requires VFP 5 or higher.

Internally, Builder.App is called and it determines the current object with ASelObj(). But before calling the default builder, it checks whether there's a Builder property and whether this is not empty. In this case, it calls the builder defined in the Builder property.

If you have VFP 6 you find the source for Builder.App in \TOOLS\XSOURCE.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform