Search found 2 matches

by Claude_M
Tue Jul 25, 2017 7:05 am
Forum: ScaleRichView
Topic: bug: TList item index out of bounds.
Replies: 3
Views: 25690

Re: bug: TList item index out of bounds.

Would an upgrade solve this problem?
I'd need to know what exactly I can promise the users when I ship a new version with the new release of ScaleRichView.
Does the method in the latest release handle -1 when accessing that list?

Claude
by Claude_M
Tue Jul 18, 2017 8:02 am
Forum: ScaleRichView
Topic: bug: TList item index out of bounds.
Replies: 3
Views: 25690

bug: TList item index out of bounds.

A user gets this exception:
Listenindex außerhalb des gültigen Bereichs (-1).
= List index is out of bounds (-1)

So the value is -1, which is never a valid item index.

The exception happens in SclRView on Line 12899, which is this:
rvd.DrawItem2Item(EDrawItemNo, rvd.DrawItems.Items[EDrawItemNo ...