>>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