Reputation: 302
I'm using a TlistView
set to DynamicAppearence
, and CanSwipeDelete
is set to True
.
I somehow can't find a way to set the icon of the delete button to a specific icon I see the property for DeleteButtonText
but I'm looking to put an icon there instead of text.
Any help with the above would be greatly appreciated.
Upvotes: 0
Views: 301
Reputation: 441
There are no icon in the DeleteButton, I think one way to have one is modifying the ListViewStyle, but not an easy one.
First create a create a new stylebook, right click on ListView/ "modify personal style"
As you see it's a TStyleObject (depend of style sheet you use I think)
So you can see that this object is a region of an image.
Now it's theory using Bitmap Style Designer:
you can get images to edit them
Load this style and change the zone
Upvotes: 0