Improve company productivity with a Business Account.Sign Up

x
?
Solved

Help implementing the View icon with dropdown

Posted on 2006-11-27
4
Medium Priority
?
167 Views
Last Modified: 2010-04-16
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
Comment
Question by:lapucca
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:R_Spruit
ID: 18038422
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
 

Author Comment

by:lapucca
ID: 18119157
what is a dropdownbutton ?  I don't see that in my Toolbox of controls.  Thank you.
0
 
LVL 1

Accepted Solution

by:
R_Spruit earned 2000 total points
ID: 18121062
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
 

Author Comment

by:lapucca
ID: 18125383
Oh, great, I found it.  Thank you very much.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
Did you know PowerShell can save you time with SaaS platforms? Simply leverage RESTfulAPIs to build your own PowerShell modules. These will kill repetitive tickets and tabs, using the command Invoke-RestMethod. Tune into this webinar to learn how…

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question