Board index » delphi » TStringGrid multiple grid selection

TStringGrid multiple grid selection

Hello

I want to use TStringGrid. I recognized that in the case goEditing is
set. it is not possible to select more than cell.
Who has a selection for this?

Thanks

Urs

 

Re:TStringGrid multiple grid selection


www.profgrid.com
Quote
"Urs" <urs1.wag...@swisslife.ch> wrote: news:3C831639.2C46811@swisslife.ch...
> Hello

> I want to use TStringGrid. I recognized that in the case goEditing is
> set. it is not possible to select more than cell.
> Who has a selection for this?

> Thanks

> Urs

Re:TStringGrid multiple grid selection


Quote
In article <3C831639.2C46...@swisslife.ch>, Urs wrote:
> I want to use TStringGrid. I recognized that in the case goEditing is
> set. it is not possible to select more than cell.
> Who has a selection for this?

There is an inherent conflict in mouse usage for selecting a range and
selecting a cell for editing and the Tstringgrid takes the easy way out
in just allowing only one at a time. To get around that (if you do not
want to use a 3rd-party grid that handles this a bit smarter) you need
to handle the OnMouse events and set or clear the goEditing option
dynamically.

Try to search the newsgroup archives for goEditing and select* in
combination, that should turn up something usable.

--
Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be

Other Threads