Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to move MODIFY FORM editor window programmatically
Message
De
13/09/2005 23:13:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01049280
Message ID:
01049298
Vues:
15
>Try
MODIFY FORM myform NOWAIT
>MOVE WINDOW (WONTOP()) TO  10,20
>
>
>>I am writing a form to find the difference between two projects, file by file. Once a difference is found user is allowed to bring up files via VFP editors. I want to spread out the editor windows for legibility. How do I get hold of MODIFY FORM window (for instance) in order to change its Left property?
>>

Thanks Sergey. That is a good start only. Since both windows are editing forms with the same name (though in different paths), both WONTOP() have the same name (Form Designer - xxxx.scx), so MOVE WINDOW (WONTOP()) TO xx,yy does not do what's needed. How do you make sure you move each of the two windows as needed?

The following is my actual code:
* cPath1 = "z:\path1\form.scx"
* cPath2 = "z:\path2\form.scx"
MODIFY FORM (cPath1) NOWAIT
MOVE WINDOW (WONTOP()) TO  5,1
MODIFY FORM (cPath2) NOWAIT
MOVE WINDOW (WONTOP()) TO  5,20
Thank you,

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform