[wxPython-users] Appearance of disabled TextCtrls

Robin Dunn robin at alldunn.com
Thu Feb 1 09:29:44 PST 2007


Ed Leafe wrote:
>     I've noticed a difference in the behavior of multi-line TextCtrls 
> from the single-line type. If you set Enable(False) for both, the 
> single-line version greys out the text, but the multi-line version does 
> not change its appearance. They are both disabled, but the single-line 
> control *looks* disabled.
> 
>     Is this by design, or am I missing something obvious?

Which platform?  On some different native widgets are used for 
single-line and multi-line controls, or it may be based on other style 
flags too.  So it could just be a difference between the native widgets' 
LnF.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list