Jump to content
sjordi

Can't add other form factors

Recommended Posts

Hi,

Just designed test app which is mainly using a TTabControl with 7 tabs.
Several TLayouts (some inside other layouts) on the first two tabs

When I try to add any of the form factors then the IDE crashes and states the following message (attached)

If I start a blank app and immediately add the form factors, then paste the entire structure of my app into the main form, it works, but it is crawling, very very slow.

 

Any idea what could cause such a thing?

FMX app in Delphi 10.4.2

Thanks for any light

Steve

idecrash.txt

Edited by sjordi

Share this post


Link to post
Guest
1 hour ago, sjordi said:

Any idea what could cause such a thing?

hi @sjordi

would be interessant you post the code used in your project, main the form where is this "possible" cause!

tip: you can use ALT+F12 to "Form to Text" and up it here, as you did with your txt.

no need any "particular code" in your "unit". if the problem is the components, then, any RAD10.4.2 can reproduce it!

in time, the "TLayout" is just for this use: acomodate the others components, like TPanel, or any other container!

 

hug

Share this post


Link to post

I can't as it uses 3rd party components.
But I nailed the problem. It's a TMS Component.

I started from a blank form and added all my components one by one, adding/deleting a form factor each time.

Then I noticed that the problem is the FMXPlanner (calendar).

It works fine as long as you don't set either the right and/or bottom anchors. If you align it to anything, then it crashes.

If you set Align=None and you remove the bottom/right anchors, you can add any form factor you want.

Just wrote to TMSSoftware to find why.

 

Thanks for your input.

 

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

×