Link to home
Start Free TrialLog in
Avatar of anusdesai
anusdesai

asked on

How to add icon to listview column header from imagelist

Hi,
How to add icon to listview column header from imagelist
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Hi anusdesai,

Use something like this....

     ListView1.Columns(2).ImageIndex = 3

...to add the 4th image from the list, to the 3rd column (both collections are 0 based).

Regards,

Wayne
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America 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
Avatar of anusdesai
anusdesai

ASKER

Cheers mate..will try and be back on monday
Cheers mate..tried and it worked great!!!!!!!!!!!!!!!!!!!!!!!!