Marco Prosperi
unread,Nov 12, 2009, 5:29:04 PM11/12/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wxPython-users
hi all, it seems is not possibile to change the background colour of a
disabled textctrl. You can verify it with the demo, just putting
(py2.5, wxpy 2.8.10.1, Vista):
t1.Enable(False)
t1.SetBackgroundColour(wx.BLACK)
Can you suggest me a workaround for this? Leaving t1.Enable(True) but
eating all the key pressing trying to change the textctrl value has
drawbacks? Or is there something more straightforward?
thanks in advance,
Marco