Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ContinuityCamera.HasPopupMenu

Checks whether we can show a popup menu.

Component Version macOS Windows Linux Server iOS SDK
ContinuityCamera 13.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ContinuityCamera.HasPopupMenu" )

Parameters

none

Result

Returns 1, 0 or error.

Description

Checks whether we can show a popup menu.
This is a preflight operation for ContinuityCamera.PopupMenu to know upfront whether to show a button in the GUI.
May report 0 if run in data viewer, with debugger or if a modal dialog is open.

Examples

Check whether popup is there:

Set Variable [ $r ; Value: MBS( "ContinuityCamera.HasPopupMenu"; 0 ) ]
If [ $r = 1 ]
    Show Custom Dialog [ "iPhone import possible." ]
Else
    Show Custom Dialog [ "iPhone import not possible." ]
End If

See also

Release notes

Blog Entries

This function checks for a license.

Created 26th January 2023, last changed 26th January 2023


ContinuityCamera.GetEnabled - ContinuityCamera.Import

💬 Ask a question or report a problem