» Home
» Tutorials
» Search  
» Contact us 

Home » Tutorials » Introduction to Visual Basic .NET » Chapter 7

7.5: The ColorDialog Control

The ColorDialog Control

Sometimes you may need to allow the user to customize the colors on their form. This may be the color of the form itself, a control, or of text in a text box. Visual Basic .NET provides the ColorDialog control for all such requirements. Once again, the ColorDialog control can also be used as a class declared in code without dragging a control onto the Form Designer.

The ColorDialog control, shown in below Figure, allows the user to choose from 48 basic colors.

Notice that the users can also define their own custom colors, adding more flexibility to your applications. When the users click the Define Custom Colors button in the Color dialog box, they can adjust the color to suit their needs.

Having this opportunity for customization and flexibility in your applications gives them a more professional appearance, plus your users are happy because they are allowed to customize the application to meet their own personal tastes.

 

Chapter 7.5.1: The Properties of ColorDialog

Chapter 7.5.2: Using the ColorDialog Control

 

 

Home | Link to Us | Partner Links | About us | Contact us

Copyright © 2009-2012 F1tutorials.com | All Rights Reserved