Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why do some properties values get passed down and not ot
Message
De
05/02/1999 18:08:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00184175
Message ID:
00184573
Vues:
23
>Hi Dave,
>
>>I set the icon property in a form class I created. But for some reason the value in this does not get passed down to subclasses from this form class. The forms (SCXs) that are created from this form class also do not get this icon property value either? Any idea why this particular property value would not get passed down? Thanks in advance.
>
>Tell me, how are you creating form files (SCX'x based on a form class? I think in order for any inheritance to occur, the subclass needs to be a form *class* as well, not just a plain form (SCX) file. Have you somehow replaced the standard VFP base form class as the default for all forms created?
>
>Phil

The quick'n'dirty trick is to create a standard (empty) form, add a formset, open your classlib in the form tools toolbar, drag your form class to the formset, remove the first form, remove the formset.

Another quick'n'dirty one is
x=createobject("yourformclass")
x.saveas("scxfilename")

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