Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please assist in understanding zOrder
Message
 
 
To
26/04/2010 13:38:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01462070
Message ID:
01462142
Views:
73
zOrder(1) sends the container to the back of z-order and it'll be covered by form controls that are overlapping with it.

>We have a BaseFrom which is a form with some standard controls
> Help Button
> Exit Button
> Treeview
> etc
>
>I've inherited a form (frmFilter) based on this class. The Init method of frmFilter does an AddObject("oFilter',...) and adds a sub-classed container object.
>
>The init method then does
>this.oFilter.zOrder(1)
>
>after which the mouse can no longer be used to activate the controls inside the container. I think the keyboard still works (CTRL-TAB, TAB, etc) but I haven't fully verified this.
>
>I we remove the zOrder() statement, the controls in the container are active, but the form's original controls can no longer be activated by the mouse.
>
>Can somebody please enlighten me about zOrder and what, if anything, can be done to correct this condition (short of a redesign of the form - I know how I would do that)
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform