Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quickest way of removing all fields in a container
Message
From
24/08/2008 22:47:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01341381
Message ID:
01341422
Views:
11
>Hi Gregory
>
>Yeah, thought the second way was the best, but will have to subclass the control.

Subclassing can be done even programmatically and on-the-fly, if you must (generate a prg with the subclass, newobject() from a class defined in it), but the additional benefit of it is that you have to think it over... since any answer here will be "depends on what you're doing".

We've gone a long way from vFP5, creating new objects is fast. If you think you may be reusing some objects, then you just keep creating them as needed, hiding them when not, and when coming to create again, check if you already got one that you can use and just show it. It may also depend on what's your controlsource for them, if any - that's where it largely depends on what you're doing.

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