How to show GlyphButton in FMX ListView

  

On Delphi 10.4.2. This is a very simple question.
A new multi-device project, Add Listview onto the form. Toggle to design mode, use DynamicAppearance.
Add 2 text items and 1 glyphButton (Checkbox),Hook up a datasource.
At design time, no checkbox showing although Glyphbotton.visible is true. At run-time, coded a ListView1ItemClick even with single line code
AItem.Objects.GlyphButton.Visible:=true;
When click an item, it produces error as show in photo.
enter image description here
Any idea how to show the checkbox when user clicks an item. It should be a very simple function, why cannot even google an answer for this?
The sample code is on github https://github.com/tanghzuk/ListView-Test

Comments are closed.