Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Member of a parent class
Message
From
17/08/2001 17:44:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00545606
Message ID:
00545717
Views:
21
>yes it is composite...
>
>Thanks
>
>Tommy
>
>>>>Lots of ways,
>>
>>Tommy,
>>One more way is to Return .F. from Init and the object won't even exist. However, if it is a composite class, this can be dangerous because the programmer may not check before trying to access the object and if not, BOOM!

Putting the .visible=.f. into the .refresh may be an overkill. I'd put it in form's .init, somewhere in the end and surely after any dodefault(). If it still gets to be visible, someone in the parent class is stubborn and brings the darn thing to life too often - then this sort of overkill does need a counter-overkill :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform