Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-04

TStringGrid: Multi Select not connected rows?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lee Jenkins

Is there a way to allow TStringGrid to not only .RowSelect but also multi-select rows that are not directly above or below each other as in range selecting?

Or must I have derive my own to do this?

Thanks,

Warm Regards, Lee

Reply by email

Graeme Geldenhuys
to Lee Jenkins
Lee Jenkins wrote
Is there a way to allow TStringGrid to not only .RowSelect but also multi-select rows that are not directly above or below each other as in range selecting?

I don't believe TStringGrid allows for that (well at least in the case of Delphi's TStringGrid). Alternatives is to use TListView in 'report' mode.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email