Hello,
During development of one of my projects i have a tool strip bar when the user clicks a button the tool strip button = a URL of a website. but if the URL is a Google search page the text would be very long and you would only be able to display 2 URLs clearly.
I was wondering if there was such a way to have a maximum amount of characters available to use on a tool strip button, as there is on a text box.
I am using Microsoft Visual Studio 2008 Professional if that helps. In addition to that i am using it like this.
ToolStripButton b =
new ToolStripButton(el.InnerText, getFavicon(url), items_Click, el.GetAttribute("url"));
b.ToolTipText = el.GetAttribute("url");
b.Text = getCurrentBrowser().DocumentTitle.ToString();
// Add a limit of characters to button here.
b.MouseUp += new MouseEventHandler(b_MouseUp);
linkBar.Items.Add(b);
Any help is much appreciated,
NSSLTD