Jump to content
David Marcus

CurrentPPI in FormCreate different for autocreated forms

Recommended Posts

I created an app in the IDE running on a 96 DPI monitor. I run the app on a 260 DPI monitor. If I have Delphi autocreate a form, then CurrentPPI in the FormCreate event is the monitor DPI (240). If I create a form in code, then CurrentPPI in the FormCreate event is 96 (and the form then gets resized).

 

This isn't a problem. But, I'm wondering why they are different.

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

×