Re: Resizing Window in Code keeping Background Image centered

2017-07-21 Thread Robert Livingston via 4D_Tech
Thanks for jumping in, Tim. I am actually using V16 and so I generally use the V16 documentation. But the link that Keisuke provided me to explain RESIZE FORM WINDOW happened to be a link to V15.4 documentation, immediately before CALL FORM arrived on the scene. So I was in that link when I

RE: Resizing Window in Code keeping Background Image centered

2017-07-21 Thread Timothy Penner via 4D_Tech
> CALL FORM is capitalized so as to suggest to me that it is a command in 4D. > But I can find no such command. CALL FORM is a v16 command (first created in v15R5): http://livedoc.4d.com/4Dv16/help/Command/en/page1391.html -Tim

Re: Resizing Window in Code keeping Background Image centered

2017-07-20 Thread Robert Livingston via 4D_Tech
CALL FORM is capitalized so as to suggest to me that it is a command in 4D. But I can find no such command. ? > On Jul 20, 2017, at 5:26 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > you would need to use CALL FORM in order to apply it to the splash window.

Re: Resizing Window in Code keeping Background Image centered

2017-07-20 Thread Keisuke Miyako via 4D_Tech
I notice after sending the message that this sentence makes no sense. but the main point stands, that you would want to use the other command if you want the resize to work as if done manually. > 2017/07/21 9:26、miyako のメール: > SET WINDOW RECT is not the command to resize

Re: Resizing Window in Code keeping Background Image centered

2017-07-20 Thread Keisuke Miyako via 4D_Tech
SET WINDOW RECT is not the command to resize the window, it is (since v2004) a command to resize the form. http://doc.4d.com/4Dv15/4D/15.4/RESIZE-FORM-WINDOW.301-3274595.en.html but since RESIZE FORM WINDOW does not take the window reference as an argument, you would need to use CALL FORM in

Resizing Window in Code keeping Background Image centered

2017-07-20 Thread Robert Livingston via 4D_Tech
On Mac. 4D v16 There is an image that can be associated with menu bars and initially it displays in the center of the window. (This image is called the background image in the 4D Tool Box) If you resize the window by dragging on the sides or corner, that image keeps itself centered. But if I