As a novice wxPython programmer I've been trying to do what should be really
simple - displaying a textbox on a panel without any border at all. I've
tried setting the flags which should do this to no avail.
Could anyone just give me a couple of lines of code showing how to do this?
Thanks in anticipation. Sorry its such a simple request.
I think you're looking for the wxNO_BORDER style flag. This only works on
Windows, not GTK. I don't see it in the current docs, but that's what we're
using for PythonCard. There is no way that I know of to make the wxTextCtrl
transparent by binding EVT_ERASE_BACKGROUND, so you might also want to set
the background color of your text control to match the background color of
the panel it is on.
ka
ยทยทยท
-----Original Message-----
From: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of richard
terry
Sent: Friday, December 14, 2001 2:42 PM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] Borderless text box
As a novice wxPython programmer I've been trying to do what
should be really
simple - displaying a textbox on a panel without any border at all. I've
tried setting the flags which should do this to no avail.
Could anyone just give me a couple of lines of code showing how
to do this?
Thanks in anticipation. Sorry its such a simple request.
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users