General information
Category:
Coding, syntax & commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only