Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding icons to a listview on a userform
Hi
Does anyone know why the icons for a listview (report style) are not displayed, when the item is added? There is no error. Just no icon displayed. Thanks in advance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding icons to a listview on a userform
in the form: check that you have an imagelist object check that the imagelist contains 16x16 icons or bitmaps check the KEYs for the images. in the form's initialize procedure bind the imagelist to the listview Set lvwNames.SmallIcons = Me.imlForm when adding items to the listview indicate which SmallIcon to use.. Set li = lvwNames.ListItems.Add( _ Key:="UniqueItemKey", _ Text:="Description", _ SmallIcon:="IconKey") HTH :) -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Richard wrote : Hi Does anyone know why the icons for a listview (report style) are not displayed, when the item is added? There is no error. Just no icon displayed. Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding controls to userform | Excel Programming | |||
Adding custom faces-icons to toobar buttons. | Excel Programming | |||
Adding TextBox to UserForm via code | Excel Programming | |||
How to add icons in the Listview control | Excel Programming | |||
Adding browse button to userform | Excel Programming |