t3choo
t3choo

Reputation: 81

vb.net Button with dropdown arrow

I want to make something like this.

enter image description here

It seems like a dropdown menu button.

I know how to make it by using the ContextMenuStrip and this code

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    WorkersButtonStrip.Show(Button1, 0, Button1.Height)
End Sub

But then i need to set up two images. One image is dropdown arrow centered on right and the second image is "Worker.icon" and that is the part I'm not able to ? .

Do i need to make two buttons or how ? I really stuck. How is this called anyway how can i google this

Upvotes: 2

Views: 7069

Answers (1)

t3choo
t3choo

Reputation: 81

Tool Strip < Add splitButton < Set image < Display Type < Image and Text.

Don't forget in options to change "Size to Fit"

Upvotes: 1

Related Questions