Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering function does not work if _SCREEN=OFF
Message
De
13/04/1997 23:39:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Centering function does not work if _SCREEN=OFF
Divers
Thread ID:
00028147
Message ID:
00028147
Vues:
90
I've just discovered something interesting.

I have a function like this to center a BMP on the screen.

_screen.Image.Left=(_screen.Width/2)-(_screen.Image.Width/2)

When I run from the EXE, the _SCREEN visible equal .F. because I need to do some setup and once completed I put it to .T.

However, when it is .F., the value of _SCREEN.WIDTH will not be the real value because the screen is not visible at the time of that function.

Any idea on how to solve this situation?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform