Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top level forms...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00310401
Message ID:
00310460
Vues:
20
Ok, found the problem. It's seems that there was this slightly hidden code that was resetting the scalemode of the form. When it was set to 0 the coordinates won't work. I reset it to 3 and it positions correctly.

Thanks for everyone's help!

>>It's being defined as a 1.
>>
>
>Pat,
>
>If the form is In-Top-Level form, and when it's called and created and you don't see it there are only two possibilites as to what's happening.
>
>Possibility one is that the variable reference is going out of scope. In this case, you would see a brief flash when the Show command was issued. The solution here would be to create a property of the parent form to hold the reference.
>
>Possibility two is that you've positioned the form incorrectly. This may cause the form to be shown beyond the borders of the parent. Co-ordinates are relative to the client area of the form. In other words, the are directly beneath the title bar and to the left of the frame, with 0, 0 being the extreme upper left corner.
Patrick L. Stovall
Senior Architect/Developer
MCP - C#

VeroQuest
P.O.Box 7216
Kalispell, MT 59904
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform