I have a procedure with only a TCustomRVData and a matching pattern for the position and I want to replace the pattern with a Bitmap.
Code: Select all
Item.Inserting(aRVData, sr, False);
aRVData.Items.InsertObject(i, sr, Item);
Item.Inserted(aRVData, i);
Code: Select all
ItemNo := RVData.ItemCount - 1;
Offs := RVData.GetOffsAfterItem(ItemNo) - 1;
RVData.SetSelectionBounds(ItemNo, Offs, ItemNo, Offs);
Code: Select all
DrawItemOffs := ItemOffs-DrawItems[DrawItemNo].Offs+1;
Thanks for your help.
Best, Hans