[wxPython] textxctrl w/o borders

Is there any way to create a wxTextCtrl and ComboBox without any black
borders? Couldn't find anything in the windows styles that would enable me
to do so (like a SetBorder Colour() or a SetBorder())

Horst

Quoting Horst Herb <subscriptions@gnumed.net>:

Is there any way to create a wxTextCtrl and ComboBox without any black
borders? Couldn't find anything in the windows styles that would enable me
to do so (like a SetBorder Colour() or a SetBorder())

wxNO_BORDER

--Robin

Just tried it. No effect at all with wxTextCtrl, border remains displayed.
(Linux, wxGtk/wxPython 2.3.2.1)

Horst

···

On Fri, 10 May 2002 01:34, robin@alldunn.com wrote:

Quoting Horst Herb <subscriptions@gnumed.net>:
> Is there any way to create a wxTextCtrl and ComboBox without any black
> borders? Couldn't find anything in the windows styles that would
> enable me to do so (like a SetBorder Colour() or a SetBorder())

wxNO_BORDER

> > Is there any way to create a wxTextCtrl and ComboBox without any black
> > borders? Couldn't find anything in the windows styles that would
> > enable me to do so (like a SetBorder Colour() or a SetBorder())
>
> wxNO_BORDER

Just tried it. No effect at all with wxTextCtrl, border remains displayed.
(Linux, wxGtk/wxPython 2.3.2.1)

Then I guess the flag isn't supported on wxGTK. It may be that it is
handled by the gtk theme and wxGTK doesn't have access to it. You coul dask
about it on wx-dev to be sure though.

···

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