Hello,
I have a couple buttons on the stripsplitbutton.
When one is clicked, I want to have that button(toolStripMenuItem1) move up to where toolstripbutton icon is. Basically it becomes the memory of what was clicked last. Any idea what property you set in
toolStripSplitButton1.DropDown = ??? toolStripMenuItem1 or toolStripMenuItem2
Thanks
j_sen21Posted Jan 22, 2008, 10:19 AM
thanks.
Just added a counter to select the buttons on top of that. thanks again.
Scott LyslePosted Jan 22, 2008, 1:48 AM
There is no property that does that but you can set the split button's image property to match the last selected menu item's image:
private void fooToolStripMenuItem_Click(object sender, EventArgs e) { toolStripSplitButton1.Image =fooToolStripMenuItem.Image; }