Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bring to front Or Send to back property?
Message
From
24/07/1998 00:35:26
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00119463
Message ID:
00120863
Views:
48
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
Map
View

Click here to load this message in the networking platform