How to draw a border on a FireMonkey TListView object


If you drop a FMX.TStringGrid onto a new FireMonkey form, the grid gets shown with a thin border.

If you drop a FMX.TTListView onto the form, there is no border.

Neither component seems to have a property for enabling/disabling the border, or setting the border colour or width.

I assume this is due to the cross-platform requirement, so how should it be done? Do I need to add a panel, then put the listview inside the panel? Or is it something to do with the style, as in needing a TStyleBook?

Comments are closed.