Delphi – How do I add a Bitmap to the right side of a ListBox?


I’ve succesfully added a Bitmap icon to the left side of my ListBox.

In order to view the Icon, we must select a StyleLookup which supports the Bitmap property. Changing the StyleLookup property to listboxitemleftdetail almost does the job. It will look like this:

However, I would like to add this Bitmap to the right side of the List.

If we use listboxitemrightdetail we are limited to the use of a string on the right side of the list.

Is it possible to easily adjust it without having to create a CustomStyle?

Comments are closed.