Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects vs. Controls/Columns/etc. collections
Message
De
10/06/2002 03:11:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00661704
Message ID:
00666437
Vues:
18
>Hi Cetin,
>
>thanks for coming over here!
>
>>Sebastian directed me to your message from Thread #666032
>>Also check thread #523544
>>If you don't need objects specifically use amembers(). In VFP7 it closes the gap of Activex objects with new parameter :)
>
>Well, the only thing I wanted to do with the objects collection was to get around the different coding for each container class which has a collection that holds references to it's contained objects. Just wanted to replace all the IF .BaseClass == "Pageframe" then use Pages, IF .BaseClass == "Grid" use Columns, etc. Would you call using the objects collection as a replacement for these things safe? I'm using it and didn't experience anything bad so far.
>
>BTW: I'm using the Objects collection at runtime.
>
>Armin

Might be. But I use amembers(). If you look the other thread there I supplied the code recursively walking objects with amembers(). Though it's a partial code full version is tested to be working since VFP5 :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform