~ Mayank Johri's Tips ~

June 30, 2008

Setting wx.TextCtrl readonly

Filed under: Python — mayankjohri @ 2:36 pm
Tags:

Simply use the following code:

txtCtrl.SetEditable(False)
# Also its a good idea to change the backgroud colour so user will know that is has became readonly.
txtCtrl.SetBackgroundColour((255,23,23))

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.