Colors

  • Thread starter Thread starter pushpendra vats
  • Start date Start date
i know that ...

but ff808040 is not Red its some color that the colordialog1 returns when i click on it ... so i cant really use it the way i use any other colored returned by the colordialog1 (ex: red,white,black, etc...)
 
he's trying to convert what people now think of as "HTML Colors" to a color
her can use in the app
 
Hi Brian,
he's trying to convert what people now think of as "HTML Colors" to a color
her can use in the app

And I have a routine for it however JavaScript and was curious if I would
spent some time in it, however I saw it is not needed.

:-)

Cor
 
Isn't it just...

Dim col As System.Drawing.Color
ColorDialog1.ShowDialog()
col = ColorDialog1.Color
Me.BackColor = col

(....I've never used the ColorDialog before so I may have something
fundamentally wrong.)


Will said:
i know that ...


but ff808040 is not Red its some color that the colordialog1 returns when
i click on it ... so i cant really use it the way i use any other colored
returned by the colordialog1 (ex: red,white,black, etc...)
 
Hi,

Button1.BackColor = System.Drawing.ColorTranslator.FromHtml(&HFF808040)



Ken

---------------------
 
Back
Top