Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing a real DPI-aware VFP application
Message
From
08/02/2021 15:07:48
Antonio Lopes (Online)
BookMARC
Coimbra, Portugal
 
 
To
08/02/2021 12:37:53
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01678100
Message ID:
01678140
Views:
79
>What I see with visible is, that visible could be toggled all day long. Since !enabled is deprecated on UI to mark stuff not available ..
>On some (crowded) forms I instantiate containers as I need them to sped up initial load of the form, and hide them later again.
>
>It would not make sense to resize again.
>
>All say, think about the way it would work on a form where nothing is added (iow on forms init, activate, whatever), and try to simulate as close as possible.

I get your point, but trapping the Visible assignment is just to fetch the values of the properties that may be scaled. It will be done only once, the first time the control is visible, just like the controls that were added at design time.

Anyway, this is the general idea, but I'm beginning to reckon it will be hard (= impossible) to do this without the application, as a whole, becoming DPI aware (and not just a part of it).
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform