Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Please assist in understanding zOrder
Message
 
 
À
26/04/2010 13:38:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01462070
Message ID:
01462142
Vues:
74
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform