Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form not centering
Message
De
06/05/1998 11:45:45
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
 
 
À
05/05/1998 21:33:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00096887
Message ID:
00097370
Vues:
30
>I'm glad you are so appreciative of the help I'm trying to give you.
>
>Can I ask you a very simple question? Why are you using _SCREEN? You can set the _SCREEN to be off in nada land, like top=10000 left=10000,and thereafter use any VFP form as your top level form, your own desktop as it were.
>
>I believe all you need to do this is set ShowWindow to 2- As top level form and the Desktop property to False. And therein you'll set AutoCenter to .T. in the init.

Thank you very much for your help Steve. I'm doing it this way because a while ago it was suggested to me by Jim Booth that I set _screen.visible to F, modify the form as I liked, then make it visible. What I am doing is setting autocenter to T, then adjusting the size of the screen. Apparently this is the wrong order. I need to set the size, then set autocenter. Your method may be easier, however. Don't get me wrong, I do appreciate your help. It's just that I felt that I was being spoken to like a child when we obviously miscommunicated. Since there is no tonal inflection in correspondence, this can happen. If I misinterpreted your intent, I apologize.

Ed
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform