Discussions
Sign In
•
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In with LMD account
Sign In with LMD account
Categories
Recent Discussions
Categories
All Categories
1.1K
NG Controls
28
Announcements
60
LMD IDE-Tools
209
LMD ElPack
373
LMD-Tools
414
Feature Requests
38
In this Discussion
Aurelio Rodriguez Duran
April 2018
Eugene Balabuev (LMD)
April 2018
TLMDGrid selected row
Aurelio Rodriguez Duran
March 2018
in
LMD ElPack
Vote Up
0
Vote Down
How I get selected row on
Tlmdgrid
Comments
4 Comments
sorted by
Votes
Date Added
Eugene Balabuev (LMD)
March 2018
Posts: 0
Vote Up
0
Vote Down
You can use TLMDGrid.CurrentRow property for that.
Aurelio Rodriguez Duran
March 2018
Posts: 8
Vote Up
0
Vote Down
Thank, I do not explain well, How I can get all selected cells on TlmGrid?, I want copy this selected cells on clipboard.
Regards
Eugene Balabuev (LMD)
April 2018
Posts: 0
Accepted Answer
Vote Up
0
Vote Down
It seems that currently there no way to get selection. As a workaround you can use GetSelRect protected method like this:
type
TGridHack = class(TLMDCustomGrid);
r := TGridHack(MyGrid).GetSelRect;
This will return selection rectangle: min/max selected rows and columns.
Aurelio Rodriguez Duran
April 2018
Posts: 8
Vote Up
0
Vote Down
Thank you, work fine.
Sign In
or
Register
to comment.
Comments