Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering forms
Message
De
26/08/2003 19:27:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00823316
Message ID:
00823638
Vues:
26
If you build a new form, does it do the same thing, or does it work correctly? Maybe your form is corrupted somehow.


>Fred
>Tried that and there is nothing in the code that sets Top or Left or Autocenter after that Autocenter = .t. in the init of the form. But it does not autocenter
>regards
>>>Fred
>>>Thanks but that is already in the init.
>>>Works fine in the development but the .exe puts the form in the top left of the screen.
>>>I have searched for a reason and found nothing - the users said its no big deal but i wanted to solve it so that i could understand why it changed. There is nothing in the code - but it is consistent - happened after VFP8 - deleting fowuser does not change it. Happens here and at the client site. Happens on most forms but not all and I can not see any difference. On one form only it flashes in the center and settles to top left of screen.
>>>Thanks for your input - I was really just trying to add some support to the thread.
>>
>>Then it sure sounds like you've go some code some where else that's moving it to the upper left. Try setting it to .F. and THEN setting it to .T. in the Init.
>>
>>
>>>
>>>
>>>>>I can confirm that autocenter is not working on one of my applications.
>>>>>It used to work but it decided to stop - VFP7 and 8 - setting the form.autocenter to .t. no longer works - after lots of searching i gave up.
>>>>>If you solve it please include me in the answer.
>>>>>TIA
>>>>>>hi caroline,
>>>>>>
>>>>>>i don't have anything for re-positioning.. i'm confused.. should i not set the "always on top" to .T.?
>>>>>>
>>>>>>i tried setting this to .F. and run the form.. but it's still not working..
>>>>>>
>>>>>>is there any substitute for "autocenter"?
>>>>
>>>>Try setting it in the .Init of the form:
>>>>
thisform.AutoCenter = .t.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform