Information générale
Titre:
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!
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement