woklet Posted July 28, 2005 Posted July 28, 2005 I have a form with 5 different web browsers and depending on which site I need to navigate to I invoke that particular web browsers bringtofront method and sendtoback on all the others; thus making the appropriate one visible. I need a way to determine which one I have on the top. Is it the z-order? How do I interrogate a web browser control's z-order? Any thoughts? Thanks Ben Quote
rot13 Posted July 28, 2005 Posted July 28, 2005 There probably is a way to find it out, but I don't know of any, so what you could do is have a variable that you set each time you bring on to front, and then that will keep track of which one is on top. Quote
woklet Posted July 28, 2005 Author Posted July 28, 2005 Yeah, that's a good idea and I'm sure it would work. However, if I could find a way around keeping track of a public variable that would be ideal. I can't find any z-order assistance in the .NET help files...there's a surprise. Quote
*Experts* DiverDan Posted July 29, 2005 *Experts* Posted July 29, 2005 I don't think a "TopMost" properity is available. But, instead of using .BringToFront why not set their Visible properity to True or False. Then its an easy task to check which one is visible or not. Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.