Click here to Skip to main content
15,867,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
yesterday i download dotnetbar and it cool, but when i want to make ButtonItem from code:
C#
ButtonItem openKeeping = new ButtonItem();
openKeeping.Name = "openKeeping";
openKeeping.Text = "Open";

RibbonHomePanel1Bar1.Items.Add(openKeeping);


Other buttons FROM DESIGN FORM dissapear and here will by replaced with small arrow down, if i hover arrow i see new mini window with buttons. If i on HomePanel1Bar1 turn Overflow to false, my button just dont appear. And how can i fix this?

EDIT
SQL
http://www.sdilej.eu/pics/61a43287a85320256f8650d516df2b75.png PROBLEM with overflow true
http://www.sdilej.eu/pics/67ccd2af15431d3b4c731daf9581b3b5.png PROBLEM with overflow false

and what i need?

i need option with overflow false but it must appear to right near buttonItem2

Im using dotnetbar : http://www.devcomponents.com/dotnetbar/
Posted
Updated 27-Aug-12 7:23am
v2
Comments
Christian Graus 27-Aug-12 12:50pm    
You should tag your question to show what 3rd party library you're using.

Is tehre a size property you can set ? That arrow means you've run out of room.
[no name] 27-Aug-12 13:02pm    
Fix what? Sounds to me like it is doing exactly what it is supposed to do.
Christian Amado 27-Aug-12 13:21pm    
Improve your question. Many people don't read comments.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900