Hi All,

4D v17R5 (Mac and Win)

I’ve been wrestling with this for a while and have had mixed and ugly results 
(I know I had this code in an earlier app and can’t find it!)

I have a popup menu on an open form. This popup allows the user to select a 
screen size for the window.

But I’d like the option of moving the window, after it’s resized, to left/top 
of the screen below the toolbar.

But we don’t have a Move window command. What works perfectly is SET WINDOW 
RECT but it doesn’t;lt eve the objects on the form. 4D says: "In order to 
modify a form window while taking the resizing properties and the objects it 
contains into account, you must use the RESIZE FORM WINDOW command”.

But the RESIZE FORM WINDOW command only adjust for width and height - 
perfectly! But it doesn’t have a move 

This seems like such a common thing and yet one can spend hours twiddling 
without getting anywhere.

Doe anyone have an code they’d be willing to share for managing both the resize 
and moving of a window to the exact location and width and height of the form?

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