Profile Picture

May I ask a simple question about default chart commard toolbar position?

Posted By chunxia yang 13 Years Ago

May I ask a simple question about default chart commard toolbar...

Author
Message
chunxia yang
questionmark Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 2, Visits: 1
I have a simple but confused me whole afternoon question:

I create a chart, and use NChartCommandBarsManager as default command tools, I want the toolbar to default dock to left instead of top, but I didn't find the right property, I know this maybe a very easy question, but I didn't find the answer even searching in the document and on the web.

I have to use

for (int i = 0; i < nChartCommandBarsManager1.Toolbars.Count; i++)

{

nChartCommandBarsManager1.Toolbars[i].Dock = DockStyle.Left;

}

This kind of working except that if the control is not tall enough, other toolbar still dock on the top.

Another similiar question is how to customize command before application runs, like only remain tools toolbar?

My way is not good at all: I use a loop, and try to get the toolbar's name:

if (desc!= ChartCommandRange.Tools.ToString())

{

toolbar.Hide();

}

I am just start to try to use nevron, any comments are hightly appreicated.

 






Similar Topics


Reading This Topic