Jump to content
Tommi Prami

Possible Delphi 12.1 inheritance bug, could someone test also

Recommended Posts

Posted (edited)

https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-779

 

IDE adds StyledElements default value to inherited form even though not needed


One coworker can't reproduce. So need more info why that might be,

I have few free plugins installed, like GExpers. Have to uninstall those and try if problem is not in the plugins. 

 

-Tee-

Edited by Tommi Prami

Share this post


Link to post
1 hour ago, Lajos Juhász said:

I saw this in Delphi 11.2, whenever I open those files in D12.1 it removes them.

On this project, it is opposite. Or 12.1 patch 1, adds them. 

Share this post


Link to post

Removed all IDE experts, and tried again and it behaves exactly the same...

 

It seems that I just need to open the inherited form and StyledElements appear right away.

 

-tee-

Share this post


Link to post
4 minutes ago, Lars Fosdal said:

Did you try with a new .dproj file?

Did not help.

Share this post


Link to post

I cannot reproduce here with project and steps from the QP issue. Looks like it is caused by something in your system.

Share this post


Link to post
1 hour ago, Uwe Raabe said:

I cannot reproduce here with project and steps from the QP issue. Looks like it is caused by something in your system.

Interesting...

I'll get back to it when Coworkers has tested that also.  Some got the same error on production app, but I'll wait for them to check out the trivial test app also.

 

-Tee-

Share this post


Link to post
Posted (edited)

This appears to be problem with the Options > User interface > Form Designer > Enable VCL Styles -setting.

Disabling the Mimic* and Enable VCL Styles settings, inheritance works as expected.

Edited by Tommi Prami

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

×