Skip to main content

mergDocShowOpenInMenu

Type​

command

Summary​

Presents an action sheet on iPhone and popover on iPad showing the apps that the document type can be sent to

Syntax​

mergDocShowOpenInMenu <pFilePath>, [<pPopoverRect>]

Description​

Presents an action sheet on iPhone and popover on iPad showing the apps that the document type can be sent to

Parameters​

NameTypeDescription

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.

Examples​

mergDocShowOpenInMenu specialFolderPath("engine")&"/pdfs/help.pdf"
mergDocShowOpenInMenu specialFolderPath("engine")&"/pdfs/help.pdf",the rect of grc "popoverfromehere"

Value​

NameTypeDescription

return

one of:

  • mergDoc: menu shown
  • mergDoc:Error: unable to show menu

Compatibility and Support​

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?