Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Range Select on TAdvGridWorkbook

 Post Reply Post Reply
Author
Lewis Gareth View Drop Down
New Member
New Member
Avatar

Joined: 24 Jul 2019
Posts: 3
Post Options Post Options   Quote Lewis Gareth Quote  Post ReplyReply Direct Link To This Post Topic: Range Select on TAdvGridWorkbook
    Posted: 13 Nov 2019 at 6:31pm
I am using a TAdvGridWorkbook to allow for me to have multiple sheets. I assume that the grids work in the same manner as a standalone TAdvStringGrid, but I can't seem to be able to highlight multiple cells or select a range (even though goRangeSelect is set to true within the grid).
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8402
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 14 Nov 2019 at 3:37pm
Is editing enabled in the grid? (goEditing = true in grid.Options)?
If so, then set grid.MouseActions.RangeSelectAndEdit = true
Back to Top
Lewis Gareth View Drop Down
New Member
New Member
Avatar

Joined: 24 Jul 2019
Posts: 3
Post Options Post Options   Quote Lewis Gareth Quote  Post ReplyReply Direct Link To This Post Posted: 14 Nov 2019 at 5:42pm
Yes, this fixed it.

Once grid.MouseActions.RangeSelectAndEdit was set to true I could then perform range select.

Thanks.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down