Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I change the 16 colors to 256 or more in VB?
Message
From
26/09/2002 16:34:52
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
How can I change the 16 colors to 256 or more in VB?
Miscellaneous
Thread ID:
00704971
Message ID:
00704971
Views:
61
Hi!

Im developing my own HTML editor, and I am trying to find a function to add items to a combo box with all the 256 hex numbers for HTML, such #000000, which is Black, but I am doing this manually such:
cboColores.AddItem ="#000000"
with each of them, and I been trying some functions, but Get error code, any help?

I use this for the text in HTML , but I want to change the backcolor of a shape when somebody/anyboy/anyone selects the color, I want him to see the color when he selects the item from the combo, let's say the click's event on the CboColores, I add
with oshapColores
.backcolor = 'here I want to know what to put
.fillcolor = 'I tried hex(val(cboColores.text))
but not work much well, any idea of what i am talking about?

Gracias!
Reply
Map
View

Click here to load this message in the networking platform