Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I didn't worry about the top and left because I centered it with autocenter. My problem was that the form was too big to fit on the screen.
Thanks,
-Michelle
>I don't think I ever saw anyone post the requested formulae for sizing the form relative to the resolution.
>
>If your topform (or _SCREEN) is maximized, it's:
>this.top = (topform.height-this.height)/2
>this.left = (topform.width-this.width)/2
>
>If not maximized, you need to use SYSMETRIC calls instead of topform or _SCREEN properties.
>
>Sorry if someone else posted the formulae and I missed it.
>
>>>Jan. 1999, FoxPro Advisor has an article about resizing forms. The author registers only those controls that he wishes to resize.
>>
>>Unfortunately, our subscription ran out Dec 98 and my boss can't decide if she's going to renew or not. After working on it a while, the best thing I came up with is to squish the forms down to 640/480, so that's what I did. They're not as pretty, but they work.
>
>HTH,
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