hi can anybody do for me.
How to add all colors in dotnet color library in a listbox?
for example a listbox has
red
green
blue
yellow
...
..
how to read from the dotnet library?
Printable View
hi can anybody do for me.
How to add all colors in dotnet color library in a listbox?
for example a listbox has
red
green
blue
yellow
...
..
how to read from the dotnet library?
Goto Quantum Software ... get their Windows Forms Components ... it includes a Color drop down that you can use.... and it's free!
-tg
hi
i need the all colors in a array...
for example when we type "color. " then it shows all supported colors in dropdown list.
i want to store all of them into an array or a listbox
hi softkans,
try this
At the top
Imports System.Reflection
and then ...
Dim properties As PropertyInfo() = GetType(System.Drawing.Color).GetProperties(BindingFlags.Static Or BindingFlags.Public)
Dim color As PropertyInfo
For Each color In properties
ListBox1.Items.Add(color.Name)
Next
please RESOLVED this post if u got the result
Quote:
Originally Posted by raibow
ok raibow.. thanks
:) :thumb: