Hi All,

Here’s the easiest way I’ve found (so far) that will move and then resize a 
window.

GET WINDOW RECT($Left;$Top;$Right;$Bottom)
 // … adjust various window coords here
SET WINDOW RECT($Left;$Top;$Right;$Bottom)

 // figure out your various width and high adjustments 
RESIZE FORM WINDOW($off_w;$off_h)

It is pretty simple for the most part.

Of course you have to adjust for menubar, toolbars, and on windows the 
ubiquitous task bar.

And if you want a margin of air around each window that’s another consideration.

Thanks to Chip and Miyako for their help.

John…



> Hi Miyako,
> 
> Thanks I’ll play with it. I remember it being very easy to do.
> 
> And in further checking of the docs with a fresh brain there is also …
> 
> FORM SET SIZE
> 
> Appreciate very much,
> John…

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to