>>>I see. AFAIK, there are not screens, but DEFINE WINDOW. My manager asked me how to increase the size. First I immediatelly suggested to look at WindowState property, but it later it turned out there are no forms at all. So, we can play with FROM nRow1, nColumn1 TO nRow2, nColumn2 coordinates...
>>
>>Define Window actually does create a form, with some special set of properties, so it looks that way. Try this:
>>
>>
DEFINE WINDOW tt FROM 2,2 TO 45,24
>>ACTIVATE WINDOW tt
>>o=_screen.Forms(1)
>>o.Left = o.Left + 200
>>
>
>Very nice. What if I have few windows defined? How should I distinguish between windows?
>
>Thanks again.
Actually Sergey found what I was looking for - the name clause, which will give you a reference to this special form right away.
If you can't get into the code which does the define window, you can loop through _screen.forms until you find the one with the caption or name that's equal to that of your window.