Equivalent of HC cantPeek?

J. Landman Gay jacque at hyperactivesw.com
Sat Jun 7 21:54:01 EDT 2003


On 6/7/03 7:01 PM, Dan Shafer wrote:

> Working on my Transcript eBook today I ran into the first thing I've  
> found that HyperTalk has that Transcript appears to lack: the cantPeek  
> property for a stack. This property traps the Option-Command key combo  
> and ensures the user can't do anything by pressing those keys.
> 
> I know we don't need this property because this is the default behavior  
> of a Rev stack, but won't its absence potentially break imported HC  
> stacks that use it?

If by "break" you mean, would you get errors, then no. The engine 
interprets "the cantpeek of this stack" as a reference to a custom stack 
property. If a script does happen to set it, then the "cantpeek" custom 
property would take on a boolean value, though of course it wouldn't do 
anything.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list