Problem with grid cell editor

Frank Millman wrote:

Hi all,

A little while ago I reported some problems using a customised grid cell
editor. The problems occur only with MSW, not with Linux. Platforms are
Windows 2000, Python 2.2.2, wxPython 2.4.0.2u, and RedHat 9, Python

2.2.3,

wxPython 2.4.1.2u.

Robin advised adding the following style to wxTextCtrl -

wxTE_PROCESS_TAB|wxTE_MULTILINE|wxTE_NO_VSCROLL|wxTE_AUTO_SCROLL

It works, but I have now come across a side-effect. On pressing F2 to

enter

edit mode, the left/right/home/end keys no longer work.

Robin Dunn wrote:

Within the edit control or once you return to the grid? Do any of the
grids in the demo have this problem?

Within the edit control. If I add the above style to GridCustEditor.py in
the demo, it shows the same behaviour. The style that causes the problem is
wxTE_MULTILINE.

Frank