mergDocShowOptionsMenu |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | mergDocShowOptionsMenu <pFilePath>, [<pPopoverRect>]
|
Associations | mergdoc |
Summary | Presents an action sheet on iPhone and popover on iPad showing the
options for the document type
|
Introduced | 8.0 |
OS | ios |
Platforms | mobile |
Parameters | Name | Type | Description |
---|
pFilePath | | the full path of the document.
|
pPopoverRect | | (optional with "" default) the rect that the iPad
popover should show from, this will default to the target's rect so in
most cases won't need to be set.
|
|
Example | mergDocShowOptionsMenu specialFolderPath("engine")&"/pdfs/help.pdf"
mergDocShowOptionsMenu specialFolderPath("engine")&"/pdfs/help.pdf",the rect of grc "popoverfromehere"
|
Values | Name | Type | Description |
---|
return | | one of:
- mergDoc: menu shown
- mergDoc:Error: unable to show menu
|
|
Description | Important: There is a known issue with this command on iPad. Because of the order of delegate calls this command will not block after if the user chooses the Open In... menu item from the popover. This means the user may still be interacting with the open in menu when the command returns.
|
Tags | externals |