D Deleted member 103 Guest Dec 23, 2019 #1 Hi, am I doing something wrong or is there an error in xCustomListview? When I click on an item, the color of the item should change briefly and not the background of the item, right? In the appendix an example with B4a and B4j. Attachments testCustomListview.zip testCustomListview.zip 15.9 KB · Views: 238
Hi, am I doing something wrong or is there an error in xCustomListview? When I click on an item, the color of the item should change briefly and not the background of the item, right? In the appendix an example with B4a and B4j.
LucaMs Expert Licensed User Longtime User Dec 23, 2019 #2 Filippo said: When I click on an item, the color of the item should change briefly and not the background of the item, right? Click to expand... No, the background item color changes, temporarily. How could it change your Views? Upvote 0
Filippo said: When I click on an item, the color of the item should change briefly and not the background of the item, right? Click to expand... No, the background item color changes, temporarily. How could it change your Views?
Erel B4X founder Staff member Licensed User Longtime User Dec 24, 2019 #3 LucaMs said: No, the background item color changes, temporarily. Click to expand... That's true. You can disable the default selection effect and implement a different one. This is done by setting the "Pressed Color" designer property to transparent. You can then implement the selection effect in the ItemClick event. Upvote 0
LucaMs said: No, the background item color changes, temporarily. Click to expand... That's true. You can disable the default selection effect and implement a different one. This is done by setting the "Pressed Color" designer property to transparent. You can then implement the selection effect in the ItemClick event.
D Deleted member 103 Guest Dec 24, 2019 #4 Thanks, now I understand it. Of course it would be better if it could be set in the library, but that's how it works. Upvote 0
Thanks, now I understand it. Of course it would be better if it could be set in the library, but that's how it works.