Jump to content
domus

Extreme slow-down in Windows FMX app UI since upgrading to 12.1

Recommended Posts

Using arrRect.SetBounds() you avoid a call to AlignObjects because TControl.SetBounds is checking some things before a call to AlignObjects


Avoid setting TPosition.X

Edited by Cristian Peța

Share this post


Link to post
1 minute ago, Cristian Peța said:

Avoid setting TPosition.X

No kidding!  :classic_wink:

Share this post


Link to post
4 hours ago, Cristian Peța said:

Using arrRect.SetBounds() you avoid a call to AlignObjects because TControl.SetBounds is checking some things before a call to AlignObjects


Avoid setting TPosition.X

Thanks @Cristian Peța

I've updated my sample project on https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-3711

Hope they found a way to optimize this for 13.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×