TAdvStringGrid has occurs a exception "Index out of Range"
when call RemoveSelectedRows.
This grid has these properties as True,
FixedRowAlways
Options.goRowSelect
MouseActions.DisjunctRowSelect
MouseActions.DisjunctRowSelectNoCtrl
MouseActions.HotmailRowSelect
MouseActions.RowSelect
I click the Cells[0,0] the first Cell which has a checkbox (caused by HotmailRowSelect),
Grid checks all rows,
then grid.row is setted to 0.
And I Call RemoveSelectedRows(),
It processes to RemoveRowsInternal() -> IRemoveRows().
AdvGrid.pas in TMS VCL UI Pack V10.5.1.0 has below codes,
(Line 45580)
cr := Row;
...
(Line 45631)
if cr < RowCount - FFixedFooters then
begin
Row := cr;
This las code " Row := cr" has occurs Exception "Index out of Range"
because that cr is 0.
So, How do I figured it out with grid.Properties or with some other ways?