Information générale
Catégorie:
Codage, syntaxe et commandes
IMO, this cannot work. In order to call the oMyObject.ZOrder(), oMyObject must be created already. But the object may be created after other objects on the form (because it may not be the first in the scx file). So, you cannot use the ZOrder method to change the creation order of the objects. But you can set this order as you like at design time.
Vlad
>I once tried using ZOrder to force a particular object to Init before any others on the form. I wanted to bind control sources of other controls on the form to properties of that object(subclassed off container) that was dropped onto a form. It didn't work consistently, kept getting errors like, ZOrder() method not found. I haven't looked at it since.
>
>Ned
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