3

How do I make a button on a form behave like a button on a toolStrip?

I want a menu-type list to come down. I tried using a toolStripContainer but it is very hard to manipulate to get it to behave as just one button.

Is there an easier way than just putting a toolStrip with one button in a toolStripContainer?

Thanks.

H H
  • 263,252
  • 30
  • 330
  • 514
Chris
  • 170
  • 1
  • 5

1 Answers1

1

Forget the ToolStripContainer, just use a ToolStrip (with 1 button).

set

toolStrip1.Dock = DockStyle.None;
toolStrip1.AutoSize = true 
H H
  • 263,252
  • 30
  • 330
  • 514