Problem while docking a browser and a toolstrip

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jake1kirkham
    New Member
    • Dec 2013
    • 1

    Problem while docking a browser and a toolstrip

    Hello, I am using the geckoFx web browser control and I am experiencing a problem while I am docking it with a toolstrip.

    The toolstrip seems to overlap the browser and I don't want this.

    I have:
    Code:
    myBrowser.Dock = DockStyle.Fill;
    toolStrip.Dock = DockStyle.Top;
    But it does not seem to work for me and it is causing the toolstrip to overlap the browser.

    How could I fix this?
    Last edited by Frinavale; Dec 12 '13, 02:55 PM. Reason: Added code tags
  • Falkeli
    New Member
    • Feb 2012
    • 19

    #2
    Make sure to add them to the form in the order you wrote the docking:
    Code:
    this.Controls.Add(myBrowser);
    this.Controls.Add(toolStrip);
    I think that should work.

    Comment

    Working...