Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing a real DPI-aware VFP application
Message
De
08/02/2021 15:07:48
 
 
À
08/02/2021 12:37:53
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01678100
Message ID:
01678140
Vues:
87
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform