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.
  1. In the project that contains the rectangle object to be the screen saver, select
    Template Libraries
    .
    TIP: To show or hide the login rectangle screen saver, toggle the
    Visibility
    property at both runtime and design time.
  2. Select
    Scripts
    .
  3. Under
    Components
    , drag
    Idle Timeout
    directly into
    MainWindow (type)
    or the page in
    Project view
    where you want to display the screen saver
    .
  4. In
    Libraries
    , select
    Close
    .
  5. With
    IdleTimeoutLogic
    selected in
    Project view
    , in
    Properties
    , in
    Enabled,
    select
    True
    .
  6. In
    Duration
    , set the idle timeout.
  7. In
    Project view,
    expand the imported
    IdleTimeoutLogic
    .
  8. Select
    OnTimeout
    .
  9. In
    Properties
    , after
    OnTimeout
    , select and then select
    Commands
    >
    Variable commands
    >
    Toggle
    . This command toggles the
    Enabled
    value at the end of the timeout.
  10. In the
    OnTimeout
    method arguments, after
    VariableToModify
    , select
    Select node
    .
  11. Select the
    Visibility
    property of the
    Rectangle
    object.
    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
Have questions or feedback about this documentation? Please submit your feedback here.