Click here to Skip to main content
15,880,651 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have the code below, the itrash icon appears on the left of the listview2 could anyone have a way of making it align after the company column?

VB
With ListView2  
    Set li = .ListItems.Add(, , fName)
    li.SubItems(1) = company
    li.SmallIcon = "iTrash"
End With
Posted
Updated 4-Sep-14 23:19pm
v3
Comments
CHill60 8-Sep-14 17:35pm    
AFAIK there is no way to move the icon around unless you create your own custom control - not a pleasant task in VB6. You could "fake" it with a second listview to the right of your original "mirroring" the icon behaviour ... not elegant but then VB6 never was :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900