Sent when the user clicks grouped text.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.1 Security:
# Syntax
linkClicked pLinkedTextOfChunk
# Params
- pLinkedTextOfChunk : The linkText property of the clicked text group.
# Examples
on linkClicked pLink -- open the URL stored with the clicked text launch url pLink end linkClicked
# Description
Handle the linkClicked message to respond to the user clicking a grouped text.
The linkClicked message is sent to the field that was clicked.
The linkClicked message is sent only when the Browse tool is being used and is sent only if the field is lock. The linkClicked message is not sent if the field listBehavior property is true.
If the clicked text is grouped text--that is, if its textStyle property contains "link" --then the linkText property of the clicked group is sent as the pLinkedTextOfChunk parameter. If the text's linkText is empty, the clickText is sent as the pLinkedTextOfChunk parameter.
# Tags
ui,
# See
- **keyword:** link, field - **property:** listBehavior, lockText, linkText - **command:** click - **function:** clickLoc, clickText - **glossary:** property, Browse tool, grouped text, message, lock, parameter - **object:** field