Can someone give me insight how can I achieve the form with panel title first and then menu bar below panel (barmanager). Because devexpress always put barmanager on top
Thank you
EDIT :
After I add standalonebardock, the result as picture shown below: the red bar is standalonebardock
UPDATE :
After I drag the barmanager menu into standalonedock, now it is already inside the dock. But the menu still on top docking, what I need how to make space above menu so I can write title/image/etc
The StandaloneBarDockControl control allows bars to be displayed at any position within the form, not simply docked to the form’s edge. To do this, create a StandaloneBarDockControl object and add bars to it. Bars can be added to the control at design time or runtime.
Related
Is it possible to create a vertical menu bar with drop down items?
I have created a vertical menu using buttons and placed them into a panel and assigning the panel's dock property to left, but couldn't find a way to add drop down items to each button.
Can someone help how to create dropdown items?
Like this? You can find MenuStrip Tool in Toolbox. Add it to the form. Right-click and select Edit Items.... You can add MenuItem (Menu1 in my example), and add SubMenus from Menu1 Property's DropDownItems.
Very strange issue in VB.NET. I have a simple WinForm that has a FlowControlPanel that takes up the entire form except for a status bar at the bottom. If I add enough items to my panel so that a vertical scrollbar is needed, then scroll to the bottom, anytime I update my status bar the panel automatically scrolls back to the top. Anyone ever see this?
Thanks,
Mark
I have a VB.NET form that dynamically creates a set of controls. If there are too many controls to view on the form, the form will show a scroll bar. (It is an autoscroll form.)
The user can scroll down and click a button which causes the form to change dramatically. It destroys all controls and draws new ones based on user input.
I've noticed that if the user is scrolled to the bottom of the form and click the button, when I destroy and create new controls they aren't located where I want them. It seems to put them relative to the visible portion of the form rather than the top of the top.
Example:
checkbox1.top = 50
checkbox1.left = 15
If the scrollbar is all the way at the bottom, the checkbox should be placed above the visible part of the form. Instead, it is drawn 50 pixels from the top of what I can see.
Please help. How do I make it place the control at an absolute location, rather than being relative to the current position of the scrollbar?
You have to compensate for the scroll position of the container control.
If a panel, then it would look like this:
checkbox1.Top = Panel1.AutoScrollPosition.Y + 50
Alternatively, you could just use a FlowLayoutPanel control, which would handle the placement of the controls for you.
I was wondering if there is any way to place existing text boxes into a toolbar in Visual Basic 2010. These text boxes are also linked to a database.
I need a way to have the textboxes on display when any tabpage is selected, therefore I thought perhaps having them in a toolbar above the tab bar would be a solution to the problem.
Many thanks.
I don't see why not how about a panel aligned on top of form. You can position the top of the TabControl wherever you want.
I have a borderless form that I'm "docking" onto the top edge of my screen. Inside of the form, I'm placing a single toolstrip control, which docks across the entire form -> (picture the taskbar to get an idea of what I'm talking about).
Because the borderless form has no edge to it, I wanted to draw a black line along the bottom edg` of the form to differentiate the form from the windows or desktop behind it.
The problem that I'm facing is that`the toolstrip will not move "behind" the line when it's docked, no matter how I order the control layers.
I've tried programatically sending the control to back to no avail either.
Any ideas on how to get the line to show above the docked toolstrip?
Dock another control to the top that displays like a black line (e.g. a Label with a black background and a height of 1). Insert your ToolStrip after you have docked the Label. It will dock just below the Label.