Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

cantPeek

set [the] cantPeek of stack ¬ to trueOrFalse

The cantPeek property returns or sets whether users can press Command-Option or Command-Shift-Option to peek at the location of buttons and fields and use the Command-Option shortcuts for accessing scripts. It corresponds to the Can’t Peek option in the Protect Stack dialog box.

The default value is false, meaning that you can peek at fields and buttons and use the Command-Option shortcuts for accessing (or peeking at) scripts.


Placeholders

stack
An expression that identifies a stack by its name, using one of the following forms:

this stack
stack text -- name or path name


For example:

stack "Home"
stack "Simonides:School:References"
this stack
stack "HD:Stacks:Addresses alias
When used inside a stack script:
me
When a stack receives a message:[the] target

trueOrFalse
Any expression that evaluates to the HyperTalk and AppleScript constants true or false.

For example:

true
false
the hilite of bg btn "Yes"
fld "Zip" contains "95014"
the short name of this stack is "Fred"


« cantModify | HyperTalk Reference | centered »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

cantPeek

set [the] cantPeek of stack ¬ to trueOrFalse

The cantPeek property returns or sets whether users can press Command-Option or Command-Shift-Option to peek at the location of buttons and fields and use the Command-Option shortcuts for accessing scripts. It corresponds to the Can’t Peek option in the Protect Stack dialog box.

The default value is false, meaning that you can peek at fields and buttons and use the Command-Option shortcuts for accessing (or peeking at) scripts.


Placeholders

stack
An expression that identifies a stack by its name, using one of the following forms:

this stack
stack text -- name or path name


For example:

stack "Home"
stack "Simonides:School:References"
this stack
stack "HD:Stacks:Addresses alias
When used inside a stack script:
me
When a stack receives a message:[the] target

trueOrFalse
Any expression that evaluates to the HyperTalk and AppleScript constants true or false.

For example:

true
false
the hilite of bg btn "Yes"
fld "Zip" contains "95014"
the short name of this stack is "Fred"


« cantModify | HyperTalk Reference | centered »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View