Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center Form on Rotation
Message
 
 
To
19/01/2017 17:08:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01646851
Message ID:
01646877
Views:
28
>>>>
>>>>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.

Of course, I will let you know how my project works and how the app looks on Windows 10 tablet. Once it works, I will be buying a barscanning device to make the app work with it.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform