General information
Title:
How can I change the 16 colors to 256 or more in VB?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only