Hi All,
Is there any built in control or 3rd party control for color picking. Something like a pallete in windows, forms, properties where we choose color from a pallete .
Thanks.
Printable View
Hi All,
Is there any built in control or 3rd party control for color picking. Something like a pallete in windows, forms, properties where we choose color from a pallete .
Thanks.
The Common Dialog Control has a colour picker (.ShowColor)
Try this control:
from http://vbnet.mvps.org/index.html?cod...rcustomize.htm
You can place the dialog in the center of the screen instead of the top left cornor
In addition to those, there are a lot of other ones:
http://pscode.com/vb/scripts/BrowseC...1=Quick+Search
Common Dialog Control usually works good enough though.
Thanks to all of you for replies.
I tried common dialog control and on form load set its property (.showcolor)
but i didnt see any color pallete displayed on run time. Have i missed something ?
It's a method not a property
Code:With CommonDialog1
.ShowColor 'Opens a colour dialog
Debug.Print .Color
End With
And if you use this to change the color of something on your screen please bare in mind that the next time your program runs whatever you changed will revert to its original color unless the color change you made is saved externally, and then read back in and applied when your program runs.