Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread TGrid MultiSelect - loop selected rows
Mon, Apr 2 2018 2:32 AMPermanent Link

thomh

Hello,

In order to loop through the selected rows I have to loop the whole grid and check for Selected[i] = True. This allows me to go through the selected items in a top to bottom or bottom to top order.

So If I select Row #1, Row #10, and Row #5, you either get #1, #5, #10 or #10, #5, #1.

I would like to loop through the selected rows in the order they were selected. So #1, #10 and #5.

Is this something that can be implemented?

// Thom
Image