Jump to content
lior I

BiDiMode=bdRightToLeft but form caption is left align on Win10

Recommended Posts

Hello,

I use Delphi 7 and Delphi 10.3. On windows 10 and above the form title caption is aligned to the left at run time,  even though the forms BiDiMode=bdRightToLeft.

At design time it is aligned to the right as it should be. On Windows 7 the caption is right aligned at run time as needed. This is a VCL program. 
 How can i solve this problem? 
I tried Params.ExStyle := Params.ExStyle or WS_EX_LAYOUTRTL in the form's CreateParams. The caption was aligned to the right 
but then the form controls where left aligned. Is there a solution to this bug using Delphi 10.3?

Thanks in advance

Edited by lior I

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

×