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 16:06:31
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
22/06/2021 12:09:37
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01681518
Message ID:
01681537
Vues:
57
>>>>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

For those who didn't do this regularly, I'll supply the code:

>- call .SaveAsClass(tcVcx, tcClass, tcDescript) of form reference
>
>check if steps were avoided ;-)

select the form in the editor, then in command window:
oX=ASELOBJ(aa,1)
oX .SaveAsClass(tcVcx, tcClass, tcDescript)

That's all, unless there was some code in the formset, which can be checked with class browser.

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