Error getting tags :
error 404Error getting tags :
error 404 clickStack | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
clickStack
Basics
Expander triangle
Type
Function
Syntax

the clickStack

clickStack()

Introduced
1.0
Environment
Desktop,Web
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the name of the stack in which the user most recently clicked the mouse.
Examples

the clickStack
repeat until (the short name of the clickStack is "Icon Palette")
if the name of the clickStack is not the defaultStack then beep

Additional Comments
Expander triangle

Use the clickStack function to determine which window the user clicked, or, in conjunction with the clickField, clickLine, or clickChunk, to determine which field was clicked.

Value:

The clickStack function returns the long name property of the stack that was last clicked.

Comments:

If the user clicks a stack's title bar or border to bring it to the front, the value returned by the clickStack does not change. Only clicking in the stack window's content area changes the clickStack value.

If the user clicks the backdrop, the clickStack returns empty.

User Comments
Expander triangle