I'm finally getting around to try a bit of wxPython and have a disappearing
label when the form is resized.
I've simply put a label followed by a text box on a toolbar with this code
(which is probably pretty crappy so feel free to show me an improved
version). When the form is resized the label disappears. Can someone help and
show me why.
ID_FINDPATIENT = wxNewId()
tb.AddControl(wxStaticText(tb, ID_FINDPATIENT, label ='Find Patient', name =
'lblFindPatient',size = (150,-1), style = 0))
tb.AddControl(wxTextCtrl(tb, ID_FINDPATIENT, name ="txtFindPatient",size
=(200,-1),style = 0, value = ''))
thanks in anticipation.
Platform is Mandrake 8.2 wXPython Version = 2.3.2.1 python version = 2.2.9
mdk that came with Mandrake 8.2
···
On Friday 03 May 2002 5:08 am, you wrote:
> I'm finally getting around to try a bit of wxPython and have a
disappearing
> label when the form is resized.
>
> I've simply put a label followed by a text box on a toolbar with this
> code (which is probably pretty crappy so feel free to show me an improved
> version). When the form is resized the label disappears. Can someone help
and
> show me why.
>
> ID_FINDPATIENT = wxNewId()
> tb.AddControl(wxStaticText(tb, ID_FINDPATIENT, label ='Find Patient',
> name
=
> 'lblFindPatient',size = (150,-1), style = 0))
> tb.AddControl(wxTextCtrl(tb, ID_FINDPATIENT, name ="txtFindPatient",size
> =(200,-1),style = 0, value = ''))
Platform and version?