|
-
Jun 11th, 2004, 05:09 AM
#1
Z Order
How can I keep a form at the top of the z order?
I don't live here any more.
-
Jun 11th, 2004, 06:12 AM
#2
I believe there is a TopMost property for that.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jun 11th, 2004, 06:35 AM
#3
PowerPoster
Re: Z Order
Originally posted by wossname
How can I keep a form at the top of the z order?
Not quite sure what you mean. Objects, including forms, have a "BringToFront" method which can be called whenever the form is accessible.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jun 11th, 2004, 06:35 AM
#4
Jesus, it's hard enough learning VB.net as it is without the buggers thinking of new names for everything!
Thanks dude.
newbie
I don't live here any more.
-
Jun 11th, 2004, 06:52 AM
#5
PowerPoster
Hi,
Looks like Topmost keeps the form at the front without removing focus from the previous form. Being a property, it's effect is permament until the property is changed. It works even when ShowDialog() was used to reveal the previous form. If you inadvertently set the property of more than one form.Topmost to true, then the one which is in focus remains on top.
BringTo Front is the same as setting focus on the form. Neither will work if the previous form was revealed with ShowDialog().
Last edited by taxes; Jun 11th, 2004 at 06:58 AM.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|