Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Charlie,
This works great. I added five properties to my base class for my controls
ResizeFont, resizeheight, resizewidth, resizetop, resizeleft. Then i set them to 0 so if I do nothing the controls don't resize. So far the 0 and 2 seem to work the best as settings...
To top this off I am adding to my system table the position and size of the form so I can recall it when the form is opened again. This stuff is great!!
Is lnTotalColWidths for some future addition you are thinking about?
Thanks
John
>Hi John:
>
>Study this code for a while and you'll get the picture:
>
>
>
>*******************************************
>** Resize method of Resizeableform class **
>*******************************************
>LOCAL lnHeightRatio, lnWidthRatio, lcControls, lnTotalColWidths, lnSize
>
>WITH THISFORM
>
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement