lock recent

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
lock recent
Summary

Sets the lockRecent property to true, preventing cards from being added to the recent cards list.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
lock recent
if not the hilite of button "Advanced" then lock recent
RelatedKeyword: card, menu
Property: lockRecent
Command: lock messages, unlock recent
Object: card
Glossary: property, handler, recent cards, command, execute
Description

Use the lock recent command to move among cards without disturbing the recent cards list.

When either the user or a handler navigates to a card, that card is placed on the recent cards list, and the user can return to it with the go command or the "Go Recent" item in the View menu. If a handler visits a card that is not normally seen by the user, you can use the lock recent command to prevent the user from inadvertently going to that card later.

The lock recent command sets the lockRecent property to true. When all pending handlers are finished executing, the lockRecent property is set back to false.

Tagsnavigation