Link to home
Start Free TrialLog in
Avatar of PhrAtoR
PhrAtoR

asked on

system icons in tListview

Hi!

I want to show files with their associated icon in a TListview component.
Any idea how to do this?

Thanks
-PhrAtoR
ASKER CERTIFIED SOLUTION
Avatar of simonet
simonet
Flag of Brazil image

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
That is a great answer!!! everything explained, sample code, just great :)
Thanks, Viktor! Thank you very much!

Yours,
Alex
It goes right into my database the way it is.. no additional comments needed ;))
The code above was actually taken from an application you probably already have: the sample application I wrote for sending mails and faxes from a Delphi/BCB application. It's one of the How-To Projects in my site.

Just an additional last comment:

MAX_FILES_ATTACHED is the maximum number of files you want your ListView to accept. If you want no limit, you can safely remove the if..then clause (and the next 3 lines that belongs to that test) . Otherwise set it (as a const) to any value greater than 0.

Yours,

Alex
Avatar of PhrAtoR
PhrAtoR

ASKER

As Victornet says: great answer :-)

Thanks