There is a lighter object than Trectangle that can apply background color (background)

Asked

Viewed 104 times

0

I’m using the firemonkey (FMX) and made a list of times with Trectangle and label, because using ListView he doesn’t look very handsome.
It turns out that when there are many records (something around more than 20), it fails to open on time and gives a lock.
Would have another element lighter to be used instead of TRectangle?
Some Layout that could apply color.

  • Already tried to use Canvas?

  • Trectangle is even the lightest. How are you creating Trectangle and label dynamically? Maybe it’s something in the way you’re filling in the information.

  • Which Delphi are you wearing? If you are using the lower version of Berlin and you are using the Listbox component to traverse the Trectangle gets slow even, it is not the Trectangle that gets slow but the component you use to traverse. I advise you to use Tvertscrollbox.

  • So I use Delphi 10.1 Berlin, and I also use Tvertscrollbox. I don’t know if this interferes with the performance, but I don’t use that Bindvisualy, instead I said I do the input of the Sqlite data via same code.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.