Roger Binns wrote:
I have a problem with the wxGridCellTextEditor. Even if you tell it to use a maximum
width of 50, if the grid column width is only 10 characters wide, then it will beep
at the 10th character and refuse to let you enter any more. If you make the column
wider, then it will let you enter more (up to the actual max width you told if the
column can have that much).So how do I tell this thing to let you enter more text than the current column
visibility?
That is the problem with using wxTE_MULTILINE for the edit control that
has been mentioned recently. IIRC, that style was added way back when to get the horizontal scrolling to work right, but sometime recently there was apparently a change in wxTextCtrl that changed things.
To workaround this you can make your own grid cell editor like in the demo.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!