Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Builder
Message
From
13/12/2003 16:06:31
 
 
To
13/12/2003 14:33:31
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00858879
Message ID:
00858934
Views:
12
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform