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

Scott LysleRank #49 · 31K reputationPosted Jan 21, 2008, 8:48 PM EST
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; }j_sen2156 reputationPosted Jan 22, 2008, 5:19 AM EST
thanks.
Just added a counter to select the buttons on top of that. thanks again.