wxGrid - disallow multiple row/column selection...?

Volker Bartheld dr_versaeg at freenet.de
Tue Feb 20 03:54:50 PST 2007


Hi Bryan!

Thanks for your hint.

>> I don't want the user to select multiple rows or columns in a wxGrid.
-----^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^
>> How do I do that?

>Have you tried using wxGrid::SetSelectionMode()?
>http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetselectionmode

Jup. I did. Actually my wxGrid is already constructed with
wxGrid::wxGridSelectRows in the wxGrid::CreateGrid() function. Since the
other choices are only wxGrid::wxGridSelectCells and
wxGrid::wxGridSelectColumns, I don't see where there should be the
possibility to disallow _MULTIPLE_ selection of rows/columns.

Can you help me further?

Cheers,
Volker
__
Mail replies to/an V B A R T H E L D at G M X dot D E






More information about the wx-users mailing list