Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Center Form on Rotation
Message
De
19/01/2017 17:08:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01646851
Message ID:
01646876
Vues:
41
>>>
>>>Although now that I see it works, I will have to change the approach. I think instead of centering a form, I will center it - width-wise - but will "anchor" to the top toolbar. The tablets' keyboard is always on the bottom and if I center the form, sometimes the keyboard covers the textbox. So it is better to move the form up, to give the keyboard more room. I think your code will work still very well but I will have to calculate the width and height of the window and move it accordingly.
>>
>>In the ReCenter method, if INLIST(_Screen.DisplayOrientation,1,3), after This.AutoCenter = .T. command you may set This.AutoCenter = .F. again, and adjust This.Top to cater for the keyboard display.
>
>Thank you!

You're welcome.

I'll be interested on your exploration and findings, and I suppose I won't be alone in that, so it would be great if you report us back now and then.
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform