Re: [MSEide-MSEgui-talk] stringgrid multi select how to?

2018-12-23 Thread Patrick Goupell
What I want is the user viewing the string grid dowes a left click on a row. Then the user presses and holds (either) the shift key or the control key. And then left clicks on one (shift key held) or more (control key held) row(s) to get a range (shift) of rows or disjoint (control) row(s)

Re: [MSEide-MSEgui-talk] stringgrid multi select how to?

2018-12-23 Thread fredvs
Hello Patrick. For selection I use: function selectcell(const cell: gridcoordty; const amode: cellselectmodety; const checkmultiselect: boolean = false): boolean; For example to select first row: cellpos.row := 0; cellpos.col :=

[MSEide-MSEgui-talk] stringgrid multi select how to?

2018-12-22 Thread Patrick Goupell
I am trying to get a string grid to multiselect rows. I cannot find the correect optinos to set to do it. What options / flags do I need to set / unset for a multiselect row stringgrid? How do I know if the stringgrid is multiselected or only one row is selected? Thank you Patrick