Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods in formset's forms' controls in a .prg
Message
From
27/07/1998 16:28:01
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00121398
Message ID:
00121767
Views:
19
>Dragan,
>
>>Opened in class browser and took a look at the source code, copied it into a .prg and found no way to run it.
>
>The class browser does not generate runable code, especially if there is more that one level of containership invloved.
>
>You have to write an add-in that took each object and generated it's DEFINE CLASS (like what you did at the end) and convert the ADD OBJECT lines to use the defined class.

Actually, it will be a generated routine, or routine templates, so this actually solves which way to go. It's not only the class browser, but it's rather that VFP doesn't support having methods for objects in a form in a formset defined programmatically, as it does for forms. I think I will eventually do both: kick out the formset _and_ generate the Define Class snippets.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform