Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methods in formset's forms' controls in a .prg
Message
De
27/07/1998 16:28:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00121398
Message ID:
00121767
Vues:
20
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform