Hi everyone,
in my projekt there is an email-list represented by your TAdvOutlookList.
In the lower area there is a preview for the selected email (the topmost).
Also I have an User-Option to set a mail as "already readed" after X seconds
if shown in the preview. When I do so, I save the selection, change the data
in the database, refill the list (maybe a little bit overhead, I know, but I'm not
smart enougth to otimize this) and rebuild the selection. After this, when
the user try to extend the selection, there is an acess-violation.
Since yesterday I just use "ClearGroups()" and "DeleteAllGroups()" to
clear the list. But this way it doesn't unset FSelectedAnchorItem. I extend
it with "UnselectAll" but there I can't find an hint to unselect the FSelectedAnchorItem
anyway. The Error occur again. When I try to build an simple example for you I fail.
In the example everything works fine, it's very frustrating.
Anyway, I hope it is possible to extend the "procedure TOutlookGroupedList.RemoveFromSelection(Item: POGLItem;
IncludeChildItems: Boolean = False);" in the OutlookGroupedList.pas.
When I add
---
if (Assigned(FSelectedAnchorItem)) AND (Item = FSelectedAnchorItem) then
Begin
FSelectedAnchorItem := nil;
End;
---
in line 4250 (Version 1.7.7.2, after do some changed I've already posted here)
it works fine for me.
Thanks for reading, sorry for my english and have a great day.
Greetings from Germany
Gabriele Hillebrandt
Thanks, we'll incorporate this improvement in the next update.