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 resize the window in code  (SET WINDOW RECT) the window does resize 
itself as requested but the image does not keep itself centered.

The only way that I can get it back in the center is to change the Menu Bar and 
then return to the original Menu Bar and the picture will be recentered.


Is it not intended to use SET WINDOW RECT on this window?

Is there some trick to resize this window in code and have the background image 
stay centered?

Thanks in advance.



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

Reply via email to