User Manual

Development Environment
Note:
Whenusingawebbrowserorpdfviewerobjectinapopupscreen,onlythedefaultstyle
forthepopup screenissupported.
OpenPopup Screen
A popup screen is opened in runtime by a Show Screen action on an object.
Note:
WhenconguringaShowScreenactionforapopup screen,positionofthescreencan
beselected. ThesesettingsoverridethesettingsmadeintheScreengroupofthe
Generaltab.
ClosePopupScreen
A popup screen is closed in runtime by a Close Screen action on an object
.
If the Close Screen action is triggered from a tag, this will close both the popup
screen and the parent screen.
3.3.7 ImportingScreens
Screens from other projects can be imported, by right-clicking in Screens area of
the Project Explorer and selecting Import.
If the selected screen has a name identical to one of the existing screens, a new
screen name is proposed.
If the imported screen includes tags that do not already exist in projects, you are
asked if you want to add these.
Note:
Notaginformatio n, otherthantagnames,willbeaddedbytheimportf unction.
3.3.8 ScreenCaching
Caching of a screen means that the content of the screen is temporarily stored in
the memory, so that the screen can be loaded faster in the future.
A screen has events
which will trigger when the screen loads and closes. There is
no difference in t
his behavior wether the screen is cached or not cached. When a
cached screen is r
eplaced by another screen, the former will deactivate all dynamic
bindings, hibe
rnate any controls that might be running timers or processes and, at
last, fire the c
losing and closed events subsequently.
ScriptsinCachedScree ns
When implementing scripts or actions in a cached screen, it is highly
recommended to make sure that any implementation closes down gracefully.
If using for instance a timer or a thread that will be initialized or started at the
screen opened event, it must be paused, stopped or disposed on either the closing
66
BeijerElectronics, M AEN831P