Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Builder
Message
De
13/12/2003 16:06:31
 
 
À
13/12/2003 14:33:31
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00858879
Message ID:
00858934
Vues:
13
Dragan

Thank you for your answer. You have confirmed what I was thinking about. Fortunatelly, I had a look in xsource and found the source code of builder.app (the one called from right-click). Interesting. That app checks if the object passed to it have a property named "Builder". If that property exists and it have a fullpath to a prg, that prg is executed with rigth click.

So, no need anymore to check the class and register the builder. I'll create just a .Builder property and write the full path to my builder in it. Works for no matter how many subclasses (assuming they have the same info there).

Thank you so much.


>
>The rightclick menu goes after the class name, or base class name. CA is a base class, so a builder registered for a base class would show up for anything subclassed for it. Just as the default grid builder would show up with a builder for your grid class.
>
>There's a simple thing to do: rework your builder to be able to do without parameters. Then just call it manually from command window while you're editing.
Grigore Dolghin
Class Software.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform