Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

Help implementing the View icon with dropdown

Hi, I'm using the VS2005 .net 2.0.  I would like to implement the View icon that that has a dropdown arrow with the view options of Large icons, small icons, deatils....   This is the icon one would usually see when using the Disk explorer.  Can someone tell me where I can get this View icon with dropdown and if there's sample code on how to use this.  Many thanks.
0
lapucca
Asked:
lapucca
  • 2
  • 2
1 Solution
 
R_SpruitCommented:
The button looks to me like a standard toolstripdropdownbutton. Add a ToolStrip control to your form, add a dropdownbutton to that toolstrip and add the options. You can set the "Checked" state of the menu subitems to indicate which option is selected.

I can't help you with the icons. I'm guessing they are copyrighted. There are free icon packs around the net but I'm not sure if they contain such icons.

Roel
0
 
lapuccaAuthor Commented:
what is a dropdownbutton ?  I don't see that in my Toolbox of controls.  Thank you.
0
 
R_SpruitCommented:
If you create a ToolStrip first (I hope THAT is in your toolbox :), you can then select that ToolStrip in Visual Studio. In the properties window of that toolstrip there is an item called "Items". Select it and then click the little button behind it. You can then add items to the ToolStrip, one of which is a dropdownbutton.

Roel
0
 
lapuccaAuthor Commented:
Oh, great, I found it.  Thank you very much.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now