Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why do some properties values get passed down and not ot
Message
From
05/02/1999 18:08:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
05/02/1999 08:30:20
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00184175
Message ID:
00184573
Views:
22
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform