mergPopMenu |
Type | function |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | mergPopMenu(<pButtons>, [<pRect>])
|
Associations | mergpop |
Summary | Presents a popup contextual menu like the Cut|Copy|Paste menu in a text
view
|
Introduced | 8.0 |
OS | ios |
Platforms | mobile |
Parameters | Name | Type | Description |
---|
pButtons | | a comma delimited list of button labels.
|
pRect | | (optional with "" default) a rect on screen which is used as the
location the popover is presented from. This defaults to the rect of the
target control.
|
|
Example | switch mergPopMenu("Duplicate,Delete")
case "Duplicate"
clone the target
break
case "Delete"
delete the target
break
end switch
|
Values | Name | Type | Description |
---|
return | | one of:
- One of the button labels (they should be unique).
- mergPopMenu: cancel
|
|
Description | Presents a popup contextual menu like the Cut|Copy|Paste menu in a text
view
|
Tags | externals |