in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Floating tabs and ribbon status bar

Last post 12-04-2007 12:10 PM by C1_GregL. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-22-2007 11:37 AM

    Floating tabs and ribbon status bar

     I have created a form with the ribbons status bar on the bottom of the form.  Placed a command dock control on the left hand side and set the docking to left.  Placed a docking tab inside of the command dock control.  During the running of the application undocking the tab to floating and then re docking back to the left side the docking control will be pushed over top of the status bar. Im just looking for a way to keep the status bar being covered by the docking control.

    Filed under: ,
  • 12-04-2007 12:10 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 515

    Re: Floating tabs and ribbon status bar

    You want the C1CommandDock to be left docked but with space left open at the bottom?  A simple way around this is set the CommandDock.Dock to None.  In the form's Resize event, handle the left docking the way you want it to be, such as

    C1CommandDock1.Height = Me.Height - C1StatusBar1.Height

    Regards,
    Greg L

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.