Information générale
Catégorie:
Codage, syntaxe et commandes
You can place the object in any order at design time using the "Send to back" and "Bring to front" actions. At runtime, use ZOrder() method. So, the Controls collection is not really read-only at runtime. As said, ZOrder changes the order in the collection and AddObject and RemoveObject methods add and remove elements from the list. So, I would say that having these powerful methods to manage the collection, it is not read-only. :)
Vlad
>Unfortunately it's only readable at run-time. The actual change made at design time is to change the physical order of the object's record in the scx. Very ugly to want to change this in the scx table. Why they don't just make a zorder property, similar to taborder, is beyond me.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement