clickStack | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the name of the stack in which the user most recently clicked the mouse. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: field Property: backdrop, name, defaultStack Control Structure: function Object: stack Function: mouseStack, value, clickField, clickLoc, clickCharChunk, clickLine, clickChunk Glossary: property, return, stack window | ||||||
Description | 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. 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. | ||||||
Tags | ui |