I opened StyleBook, add Tglyph to one of the Listboxitemsstyle. Selected my imagelist for that glyph in object inspector.
Now i want at run time add listboxitems and set images from imagelist, but i dont know how.
This is working in windows (the same element style). But useless on Android:
listbox1.itembyindex(listbox1.items.count-1).imageindex := i;
I’ve tried to use like that:
using fromvariant or directly load from image.bitmap Its not work. If I set index in design time, all items will be with the same bitmap, but i want to change them. Please help