Problem with listview layout Delphi 10.1 Berlin

0

I have a problem in the layout of the listview, when I put it in the form and compile it to show the records, so far as it appears the records on the screen show everything in bold, the records that are appearing next when the listview comes up appear all in source. I deleted it and put another but it did not solve.

    
asked by anonymous 26.02.2018 / 20:11

1 answer

0

You can change these properties in the UpdateObjects event of Listview

If you are using the Listview with the Appearence property as DynamicAppearance here is an example of how to do:

AItem.Objects.FindObjectT<TListItemText>('nomedocamponolistview').Font.Size:= 20

Another option is to change the text properties of the listview fields manually, once I had a similar problem, I left the text properties values as standard and formatted differently than I wanted when compiling, so I just assigned values to the properties and remained 100%.

    
18.05.2018 / 19:07