Jump to content

Less flashing with new window


This topic is 7256 days old. Please don't post here. Open a new topic instead.

Recommended Posts

In FM7 we can have multiple open windows. I use these "Pop Up" windows to display details from a list, find criteria entry and other such "temporary" views or functions. The flash of white when a new window is created is really distracting so...

2 global fields: gWindowName, gWindowPopUpName

1 get script: Get window: gwindowPopUpName

If current window does not equal gWindowPopUpName,

Make a new window

Set window tile: gWindowPopUp

This is a sub script at the beginning of each navigation script going to a window pop up.

1 hide script for pop ups: Set WindowTile: FileName&"PopUp"

set gWindowPopUpName: current Window Name

Hide window

This scipt is buttonized on the pop up window layout.

The first time a Pop Up window is called for, there is the usual flashing but later pop up's won't have this. After hiding, there is less white flashing when it is retrived then when a new window is made. This is not true for large "pop up" window unfortunately, though.

Good luck.

smirk.gif

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.