Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Systools v3.03 and TStShellListView - can't get selected items on win xp and BCB 5 prof

10 views
Skip to first unread message

Andy Bell

unread,
Dec 28, 2002, 1:36:07 PM12/28/02
to
Sorry, the OnSelectItem parameter has the right params, but I can't
figure out how to use it...

Andy

In message <bVy+NmAN...@profotosoftware.com>, Andy Bell
<An...@nospam.co.uk> writes
>Hi all
>
>I have a TStShellListView component with multi select enabled.
>
>When the user clicks away from the TStShellListView component the
>SelectedItems property doesn't report the correct number of selected
>items if more than one is selected - it just reports the first one, or
>sometimes a few, but not all.
>
>It works on Windows NT but not on XP Prof SP1.
>
>So, I tried the SelectedItem event BUT, unlike the help file
>description, the event gets the following params:
>
>TObject *Sender, TListItem *Item, bool Selected
>
>As the TStShellItem isn't descended from TListItem then this doesn't
>seem to help me.
>
>Question - I need to evaluate all the selected items in the
>TStShellListView and currently can't - any ideas?

--
Andy Bell

Andy Bell

unread,
Dec 28, 2002, 1:23:09 PM12/28/02
to
0 new messages