Example very, very easy on the use of the dialog box to select colors in visual basic. Net.
We just need a form, a button and a ColorDialog component for this example. and in the click event of BotCon copy the following code:
Then if ColorDialog1.ShowDialog = Windows.Forms.DialogResult.OK Me.BackColor = ColorDialog1.Color End If
The result is shown in the image below. 
Hope this helps.
Information Bitacoras.com ...
Rate in Bitacoras.com: Example very, very easy on the use of the dialog box to select colors in visual basic. Net. We just need a form, a button and a ColorDialog component for this example. and in the event c ....
good tip, but as it is to open a dialog box like the backcolor property of a textbox for example?
I mean you can select solid colors, website or system. of the same style properties backcolor
Joseph:
see the next article I have written to answer your question: http://www.solovb.net/index.php/2009/08/02/usa-los-colores-de-visual-studio-en-tu-programa/
Luck
[...] This example arose from a query in this article. [...]
hello friend eliseo
I program in c but now I have a problem with vb
quisier know how I can change the background color of cells in a datagridview
instead of the bottom of the form
Try this:
Me.dataGridView1.DefaultCellStyle.BackColor = Color.Beige
or siquieres do this alone in a cell:
Me.dataGridView1.Rows (3). DefaultCellStyle.BackColor = Color.Beige
Luck
Thanks friend but not exactly what I want ...
I need to color the selected cell of the datagridview (single cell) with a ColorDialog
or at least one default button already has a color
thanks and hope you can help me