-
Rich Text Box?
Hi.
I have a problem in C# with using the control RichTextBox. So, I have to make a web browser and i reached the stage in which i have to display the page (already done the parsing). Now, my question is how do I set the background color of the RCB? I mean, I have to set according to the attribute BGCOLOR = #something (from the HTML code).
It should be of the type Systems.Drawings.Color, but i convert String to this.
Help... :(
-
Re: Rich Text Box?
make your own dtb of colors?
like black = 000000
and white = FFFFFF
also for #123212 lookup fromargb(255, red, green, blue)
(255 = full opac)
notice you could parse 3 hex numbers to 3 integer ones... :)
:wave: