Hi all,
I gave up trying to get a check box with ListBox
so i thought i would use ListView in List mode but im hitting problems there to.
i have change it to default to make sure the images are loading and they are, yet when i use the constant LISTVIEW_LIST only the text is displayed.
Function CreateListViewBox(gName)
global CLVBImageCount as integer
if CLVBImageCount < 1
addImageListItem ilLVWImages,loadAndScaleImage("unticked.bmp",16,16, 0)
inc CLVBImageCount
addImageListItem ilLVWImages,loadAndScaleImage("ticked.bmp",16,16, 0)
inc CLVBImageCount
endIf
setListViewStyle gName, LISTVIEW_LIST
`addListViewColumn table,"Name",200
setListViewImageList gName,ilLVWImages
endFunction
function GenreTest(gName)
addListViewItem gName, "Action", 0
addListViewItem gName, "Adventure", 1
endFunction
as said this code works in default (large image) but not in list (small image).
can anyone help on this.
thanks for any help