Configure a screen saver or automatic logout
Configure a screen saver or automatic logout to have the login screen display an initially hidden login element, such as a rectangle, after the inactivity period occurs.
- In the project that contains the rectangle object to be the screen saver, selectTemplate LibrariesTIP: To show or hide the login rectangle screen saver, toggle theVisibilityproperty at both runtime and design time.
- SelectScripts.
- UnderComponents, dragIdle Timeoutdirectly intoMainWindow (type)or the page inProject viewwhere you want to display the screen saver.
- InLibraries, selectClose.
- WithIdleTimeoutLogicselected inProject view, inProperties, inEnabled,selectTrue.
- InDuration, set the idle timeout.
- InProject view,expand the importedIdleTimeoutLogic.
- SelectOnTimeout.
- InProperties, afterOnTimeout, select and then select .This command toggles theEnabledvalue at the end of the timeout.
- In theOnTimeoutmethod arguments, afterVariableToModify, chooseSelect node.
- Select theVisibilityproperty of theRectangleobject.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 hasVisibilityset toFalse.
Provide Feedback