Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I change the 16 colors to 256 or more in VB?
Message
De
26/09/2002 16:34:52
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
How can I change the 16 colors to 256 or more in VB?
Divers
Thread ID:
00704971
Message ID:
00704971
Vues:
62
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
Fil
Voir

Click here to load this message in the networking platform