Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
762
Docking a WinStatusBar in a container?
posted

I need a row of controls between a UltraWinToolbar and a UltraWinGrid in my WinForms application. I figured a UltraWinStatusBar has the behavior I need, but I can't manage to dock it to the top of the container below the toolbar. Dragging the StatusBar to my form in Design view puts it in the top level window container, docked to the bottom. Undocking it I assume makes all other controls draw over top of, because I can't see it. Controls inside the StatusBar.Panels collection do not draw. Even undocking other controls and moving them away from the StatusBar leaves a gap in my form that the StatusBar does not draw in.

I can't drag theStatusBar to the container because clicking the StatusBar, even right-clicking, selects the background panel. Selecting the StatusBar control from the Properties view greys out the"Bring to Front" button in the VS toolbar. Obviously I am missing something, but what?

Parents
No Data
Reply
  • 37774
    posted

    Given your description, it still sounds like your issue is related to the z-order of the statusbar.  When you select the control in the Properties window, you don't get any of the formatting toolbar options because the designer window doesn't have focus.  If you select the control in the Properties window and then click on the tab for the relevant form/container in design mode, you should then be able to click "Bring to Front".

    I'm not really sure where the gap in your form is coming from.  I was able to add a new UltraToolbarsManager with a single toolbar, a grid, and an UltraStatusBar to the form and have them all docked correctly.  Did you have the UltraToolbarsManager automatically add a panel to the form when you instantiated it?

    -Matt

Children
No Data