Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert a Formset class into a Form class
Message
De
22/06/2021 12:27:30
 
 
À
22/06/2021 12:14:13
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01681518
Message ID:
01681527
Vues:
31
>>>>>Good day all,
>>>>>
>>>>>I discovered a class library VCX with a Formset that has only one form class. My question is it possible to convert the formset into a single form class? And how does one go about doing it.
>>>>>
>>>>>Thanks in advance.
>>>>
>>>>Hack the VCX. That is.
>>
>>>>...somewhat errorprone sequence
>>>
>>>Thanks for the steps. I'll try it out.
>>
>>Before trying that I'd
>>- instanciate the formset
>>- get a reference to the form
>>- call .SaveAsClass(tcVcx, tcClass, tcDescript) of form reference
>>
>>check if steps were avoided ;-)
>
>
>Something learned this day - I quit for today. :)

There still might be code or properties in Formset.Dataenvironment or in methods of both set and form - the FormSets were created to ease porting of fpw screens, so more checks are needed to guarantee nothing is dropped. Always thought vfp .SaveAsClass() to be a great precursor to Javascript Function.toString() ;-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform