Unit SKDrawList |
This is a descendant of a TListBox that makes use of a TImageList. Now, Drawing Bitmaps into a ListBox wil be much easier. This component is freeware. Do with it what ever you want. but I will not be held liable for any damage it does (you have the source) To make use of the features of TSKDrawList, The Style must be set to OwnerDraw. To use, just add your items to as you would a normal ListBox. Then in the 'SKDrawList1DrawItem' event, You set the image to draw like so : SKDrawList1.NewImageIndex := Index; For this example, I just used the ItemIndex of the ListBox itself to choose an image. Yours most likely will be different. For any questions or comments I can be reached at: robert@alpine.net
Classes |
TAbout -
TSKDrawList -
Functions |
Register -
Types |
Constants |
Variables |
Functions |
Types |
Constants |
Variables |