Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Center Form on Rotation
Message
 
 
À
19/01/2017 14:28:24
Antonio Lopes (En ligne)
BookMARC
Coimbra, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01646851
Message ID:
01646872
Vues:
34
>>>>Sorry for a very newbie question. Does you code:
>>>>
>>>>BINDEVENT(_Screen, "DisplayOrientation", This, "ReCenter")
>>>>
>>>>mean that every time the value of the VFP main window (_screen) DisplayOrientation changes, call ReCenter method?
>>>
>>>Yes.
>>
>>Thank you.
>
>Dmitry, just checked on my Windows 10 tablet: the recentering is working ok after the screen rotation (there is a minor glitch in the test, the form release should be put before the #ENDIF, but this is irrelevant to what you need).

Antonio, thank you very much.
"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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform