Configure a screen saver
Configure a screen saver to hide application interface after specified inactivity period.
- Configure a screen saver object:
- Add a rectangle or a different container and configure the child objects to create a screen saver.For more information, see Graphic objects.
- InProject view, select the screen saver object and inProperties, set these values:
- Visible. Set toFalse.
- Hit Test Visible. Set toTrue.
- InEvents, next toMouseDown event, select and then select .
- UnderInput arguments, inVariableToModify, selectSelect node,and then select theVisibleproperty of the screen saver object.
- SetValuetoFalse.
- Make sure the screen saver object is in the highest Z order by dragging the screen saver object to the bottom of the container inProject view.
- From the toolbar, selectTemplate LibrariesIdle Timeout
- UnderComponents, dragIdle Timeoutdirectly intoMainWindow (type)or the screen inProject viewto display the screen saver.For more information about screens, see Screen.
- InLibraries, selectClose.
- InProject view, selectIdleTimeoutLogicand set these values inProperties:
- Enabled. Set toTrue
- Duration. Set the idle timeout.
- InProject view, expand the importedIdleTimeoutLogicand selectOnTimeout.
- InProperties, in theOnTimeoutvalue, select and then select .
- UnderInput arguments, inVariableToModify, chooseSelect nodeand select theVisibleproperty of the screen saver object.
- SetValuetoTrue.
Download a sample project:
ScreenSaver.zip.
TIP:
You can create a login screen to appear after an automatic logout. An example login screen may include an initially hidden rectangle object that adjusts to the size of the main window and has
Visibility
set to False
. Provide Feedback