Hi, group,
I have python 2.3 and wxPython 2.4.2.4 installed on my win2k box. I just find whenenver I use "DirBrowseButton" control, it will crash with a 'memory could not be "written"' error. I exclude the possibility of the bug of my own code because bundled "demo" app also crashed when I clicked "FileBrowseButton" demo. However demo and my own code run well on linux box. Is this a wxPython bug or the problem of my win2k?
I have a dialog box made up of a series of wxTextCtrls. I've noticed that
as soon as I add the wxTE_MULTILINE style to one of the controls, it screws
up the tab order which worked fine with all single-line controls.
Specifically, tabbing through the form will skip the control AFTER the
Multi-line control. (Tabbing backwards through the list still works fine.)
Any ideas how I can fix this?
(I'm using Win2K, Python 2.2, and wxPython 2.4.2.4.)
Thanks,
David Woods
Wisconsin Center for Education Research
University of Wisconsin, Madison http://www.transana.org
Hi, group,
I have python 2.3 and wxPython 2.4.2.4 installed on my win2k box. I just find whenenver I use "DirBrowseButton" control, it will crash with a 'memory could not be "written"' error. I exclude the possibility of the bug of my own code because bundled "demo" app also crashed when I clicked "FileBrowseButton" demo. However demo and my own code run well on linux box. Is this a wxPython bug or the problem of my win2k?
I have a dialog box made up of a series of wxTextCtrls. I've noticed that
as soon as I add the wxTE_MULTILINE style to one of the controls, it screws
up the tab order which worked fine with all single-line controls.
Specifically, tabbing through the form will skip the control AFTER the
Multi-line control. (Tabbing backwards through the list still works fine.)
Any ideas how I can fix this?
(I'm using Win2K, Python 2.2, and wxPython 2.4.2.4.)
This is a known problem, but I don't know of a workaround other than to not use a Dialog. Maybe putting the controls on a Panel and the Panel on the Dialog will work?
Putting everything on a Panel on the Dialog box worked perfectly.
Thanks, Robin.
David Woods
···
-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Monday, January 05, 2004 2:18 PM
To: wxPython-users@lists.wxwindows.org
Subject: Re: [wxPython-users] wxTextCtrl, TE_MULTILINE, and Tab Order
David Woods wrote:
Hello all,
I have a dialog box made up of a series of wxTextCtrls. I've noticed that
as soon as I add the wxTE_MULTILINE style to one of the controls, it
screws
up the tab order which worked fine with all single-line controls.
Specifically, tabbing through the form will skip the control AFTER the
Multi-line control. (Tabbing backwards through the list still works
fine.)
Any ideas how I can fix this?
(I'm using Win2K, Python 2.2, and wxPython 2.4.2.4.)
This is a known problem, but I don't know of a workaround other than to
not use a Dialog. Maybe putting the controls on a Panel and the Panel
on the Dialog will work?
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Thanks, Robin. Problem solved after applying this patch, except that "wx.ID_OK" on the patch should be "wxID_OK", instead.
Chunlei
Robin Dunn wrote:
···
CL WU wrote:
Hi, group,
I have python 2.3 and wxPython 2.4.2.4 installed on my win2k box. I just find whenenver I use "DirBrowseButton" control, it will crash with a 'memory could not be "written"' error. I exclude the possibility of the bug of my own code because bundled "demo" app also crashed when I clicked "FileBrowseButton" demo. However demo and my own code run well on linux box. Is this a wxPython bug or the problem of my win2k?
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org