Background color of disabled TextBox

T

Toni Gomez

Any clues to this?
I would like to be able to change text and background color of disabled
text boxes with CF in a Windows CE device.
Basically we don't like how disabled text boxes get rendered, any other
aproach?

Thanks,

Toni Gómez
 
P

Peter Foot [MVP]

Rather than disabling the textbox you can override the focussing behaviour
(pass the focus to another control when focus is set on the textbox) which
will remove the ability to edit the text, then you can set a backcolor as
you see fit.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top