Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Toolstrip and Docking problem

Posted on 2009-04-04
6
Medium Priority
?
1,586 Views
Last Modified: 2013-11-27
I have an application with a tab control. The tab control dock property is set to Fill.

If I place a toolstrip along the top of the screen, the tabs on the tab control are hidden beneath the toolstrip.

Also, the WebBrowser control I use on another tab is partially obscured by the StatusBar at the bottom.

How do I include the toolstrip and avoid having the tabs hidden beneath it?
0
Comment
Question by:jindalee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 48

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 24070876
Right-click the toolstrip control and select "Send to Back".

Wayne
0
 
LVL 1

Author Comment

by:jindalee
ID: 24071119
I tried that. The toolstrip swapped places with the menu bar! But I could see the tabs. So how do I get the menu bar to stay above the toolstrip?
0
 
LVL 48

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 24071151
Do you mean the ToolStrip is now at the bottom of the form??

My only suggestion, short of seeing your form for myself, is to experiment sending controls to back or front until the desired effect is achieved.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Author Comment

by:jindalee
ID: 24073184
No. Before adding the toolstrip, I had the title bar with the menu bar immediately beneath it. I place the toolstrip on the form immediately beneath the menu bar. When I then set the tab control docl propertyto Fill, the sequence is Title bar, toolstrip, menu.

You can see the effect in the attached image
ToolstripError.JPG
0
 
LVL 48

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 2000 total points
ID: 24073215
Try sending the MenuStrip to front or back.
0
 
LVL 1

Author Closing Comment

by:jindalee
ID: 31566964
Strange solution but eventually it worked.  I had to:
    remove the Fill from the TabControl Dock property;
    then add the toolstrip;
    then put back the Fill in the TabControl Dock property;
    then send the toolstrip to the back (which swapped the menu strip and toolstrip round)
    then send the menu strip to the back
After all that I had themenu bar sitting above the toolstrip and did not have the TabControl tabs hidden.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question