Jump to content
Sign in to follow this  
JoJa

TStyleManager DialogsStyleName

Recommended Posts

Hi everyone,

 

Has anyone already used the DialogsStyleName property from TStyleManager on Delphi 10.4.2 ?

If I use this property, I get an access violation on TSysControl.GetControlClassName which is called from TSysStyleHook.StyleServices when an exception is raised. And the exception is raised because SysControl is nil at this moment.

Have you ever encountered this issue ?

 

Regards,

 

P.S : To reproduce this issue, I just active the VCL Style and put one on my project. Then, on a simple button, I affect the DialogsStyleName to an other style property and raise an exception.

1.png

2.png

3.png

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
Sign in to follow this  

×