Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  

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 paid license.

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


ContinuityCamera.GetEnabled - ContinuityCamera.Import

💬 Ask a question or report a problem


Start Chat