Link to home
Start Free TrialLog in
Avatar of seabear
seabear

asked on

Find filename selected in TshellListView

Delphi 6 has some new shell components in the samples components tab. I am trying to use the TshellListView component and I simply want to find the name of the file or folder I have selected. However if I try test code like
    caption := ShellListView1.ItemFocused.Caption;
the itemfocussed.caption is blank. Could someone please tell me what I should do?

Thanks in advance - Dan
ASKER CERTIFIED SOLUTION
Avatar of MrGhost
MrGhost

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of seabear
seabear

ASKER

Thanks - works nicely - Dan