Page 2 of 2

Posted: Thu Apr 04, 2013 3:40 pm
by Sergey Tkachenko
Do you use Strict=True? If Strict=False, the function must never return -1.

Posted: Thu Apr 04, 2013 3:58 pm
by Sergey Tkachenko
(a link to the topic continuing the discussion - http://www.trichview.com/forums/viewtopic.php?t=5901 , for future reference

Posted: Thu Apr 04, 2013 7:06 pm
by Graham
Yes I originally had Strict = TRUE, but since our recent fixes:

rve.GetItemAt(0, currentScrollY, RVData, ItemNo, OffsetInItem, true);

has changed to

rve.RVData.FindDrawItemForSel(0, currentScrollY, ItemNo, OffsetInItem, False, True, True, False);

everything to do with this mechanism now appears to be working correctly.

Thank you for your very fast support.