Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Resolution: making app compatible
Message
De
16/06/1998 04:20:11
 
 
À
15/06/1998 08:50:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00108187
Message ID:
00108549
Vues:
33
Carlos,

Handling Screen Resolution generically is a hell of a problem. It's not only a question of resizing a form accordingly, but also to "relocate" all controls that are on a form and possibly in all canned containers.
Of course, it's easy to implement when you have few controls on a form, such as few textboxes, comboboxes, and say a grid. But what if you're displaying 2 grids side to side, what if you display editboxes below that are to be aligned with each grid, etc.
For this to work correctly, each object should be bound to the ones it is depending on, which creates another nightmare to free all object references. Now, should this exist in the files section (maybe yes, as Dave as suggested), that will mean that you absolutely need to work with all the classes this VCX procvides because I guess that "messages" will be sent from one control to another from within the class' code itself.

The best way to do all this stuff is probably to create your own classes, based on some of the ideas that other implemented for you.

Pat
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform