![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, I am using FMP7 under Windows and I have a need to press a script button and open a new (second) window on top of the existing layout 1. I want to keep the initial layout visible and Maximised 2. The second window comes from a related record and is much smaller and sits on top I am having trouble using Related Record and New Window scripts to achieve this - I keep getting the second window opening on top of a reduced initial layout - What am I doing wrong Regards Ron H. |
#3
| |||
| |||
|
|
Hi All, I am using FMP7 under Windows and I have a need to press a script button and open a new (second) window on top of the existing layout 1. I want to keep the initial layout visible and Maximised 2. The second window comes from a related record and is much smaller and sits on top I am having trouble using Related Record and New Window scripts to achieve this - I keep getting the second window opening on top of a reduced initial layout - What am I doing wrong Regards Ron H. |
#4
| |||
| |||
|
|
I would duplicate the layout1, make all fields non modifiable, and draw on it a simili layout that would look like the layout2; Remi-Noel "Ron H." <ronald_h70 (AT) hotttmail (DOT) commm> a icrit Hi All, I am using FMP7 under Windows and I have a need to press a script button and open a new (second) window on top of the existing layout 1. I want to keep the initial layout visible and Maximised 2. The second window comes from a related record and is much smaller and sits on top I am having trouble using Related Record and New Window scripts to achieve this - I keep getting the second window opening on top of a reduced initial layout - What am I doing wrong Regards Ron H. |
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Unfortunately what you're describing is a Windows "feature". The easiest way to get around this, on startup maximize your window then use the Move/Resize Window command and set the Height to Get ( WindowHeight ) - 1. Do the same thing for the width. Your window will be almost maximized but you won't have any more issues with it just resizing on you for no reason. |
#9
| |||
| |||
|
|
FP wrote on (8/31/2005): Unfortunately what you're describing is a Windows "feature". The easiest way to get around this, on startup maximize your window then use the Move/Resize Window command and set the Height to Get ( WindowHeight ) - 1. Do the same thing for the width. Your window will be almost maximized but you won't have any more issues with it just resizing on you for no reason. I like the simplicity of it, as well as eliminating the need to store coordinates, but there is a very noticable double jump in the window, first to maximize, another upon resize. I don't see such a jump if I use a single Adjust Window step to the four coordinates previously stored. Matt |
#10
| |||
| |||
|
|
Matt Wills wrote: FP wrote on (8/31/2005): Unfortunately what you're describing is a Windows "feature". The easiest way to get around this, on startup maximize your window then use the Move/Resize Window command and set the Height to Get ( WindowHeight ) - 1. Do the same thing for the width. Your window will be almost maximized but you won't have any more issues with it just resizing on you for no reason. I like the simplicity of it, as well as eliminating the need to store coordinates, but there is a very noticable double jump in the window, first to maximize, another upon resize. I don't see such a jump if I use a single Adjust Window step to the four coordinates previously stored. Matt One of the options in Adsjust Window is Resize to Fit which appears to do this without the need to store coordinates. |
![]() |
| Thread Tools | |
| Display Modes | |
| |