Multiline in wxGrid

Hi,

I'm searching a way to make a cell multiline to deal with long text
without having to manually add "\n".

Is there a simple way to do that ?

Thanks

Philippe LE NAOUR wrote:

Hi,

I'm searching a way to make a cell multiline to deal with long text
without having to manually add "\n".

Is there a simple way to do that ?

Use the wxGridCellAutoWrapStringEditor and wxGridCellAutoWrapStringRenderer classes for the cell's editor and renderer.

···

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

Thanks very much. I will have a look on it.

···

Le sam 20/12/2003 à 20:02, Robin Dunn a écrit :

Philippe LE NAOUR wrote:
> Hi,
>
> I'm searching a way to make a cell multiline to deal with long text
> without having to manually add "\n".
>
> Is there a simple way to do that ?

Use the wxGridCellAutoWrapStringEditor and
wxGridCellAutoWrapStringRenderer classes for the cell's editor and renderer.