Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Order of forms
Message
De
16/06/2006 16:22:34
Chris Bohling
Myers and Stauffer LC
Shawnee, Kansas, États-Unis
 
 
À
15/06/2006 15:24:36
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01129381
Message ID:
01129654
Vues:
12
>I'm looking for something in Visual Basic 2005 that is comparable to z-order in Visual Foxpro. I need a reliable way to know the order of forms or a way to know that one form is on top of another.

Rod,

There is an off-chance that these properties/methods would be useful to you:

Application.OpenForms (returns FormCollection)
Form.OwnedForms (returns an array of forms owned by the current one)
Form.MDIChildren (returns an array of MDI child forms)
Form.TopMost
Control.BringToFront() (inherited by Form; like VFP's Form.ZOrder(0))
Control.SendToBack() (inherited by Form; like VFP's Form.ZOrder(1))
Control.UpdateZOrder() (inherited by Form)

See also: http://www.code-magazine.com/Article.aspx?quickid=0507101

Chris
Christopher Bohling, Consultant
http://www.ChristopherBohling.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform