Home All Groups Group Topic Archive Search About

How to set 'textbox's disable forecolor' ?

Author
21 May 2006 2:53 PM
Agnes
my client complaint that "when the textbox is disabled, the forecolor is too
light ".
How can I change it ?
Thanks a lot

Author
21 May 2006 2:59 PM
Michel Posseth [MCP]
you can only change this by creating your "own" controls    ( wich is pretty
easy with inheritance )
however a workaround might be to use the readonly = true property instead of
the dissabled property

regards

michel posseth



Show quoteHide quote
"Agnes" <ag***@dynamictech.com.hk> schreef in bericht
news:uchOPZOfGHA.3996@TK2MSFTNGP04.phx.gbl...
> my client complaint that "when the textbox is disabled, the forecolor is
> too light ".
> How can I change it ?
> Thanks a lot
>
Author
31 May 2006 8:42 PM
Ross Ylitalo
You can simulate what you want in a Textbox by setting the backcolor to what
you want, and then setting the Textbox's "ReadOnly" property to true.

ry