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:35:38
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
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:
01049301
Vues:
11
>>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?

In meta-code
oFrmLeft=create("form")
oFrmLeft.name=sys(2015)
oFrmLeft.left=..., .right= etc
oFrmright.... same, just for the right side
modify form frm1 window (ofrmLeft.name) nowait
aselobj() here to get reference to this one
modify form frm2 window (oFrmRight.name) nowait
activate window (oFrmRight.name)
aselobj() again to get reference to the right one

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform