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

Preview.Release

A convenience method to release all preview controls.

Component Version macOS Windows Linux Server iOS SDK
Preview 13.3 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Preview.Release"; PreviewRef )   More

Parameters

Parameter Description Example
PreviewRef The reference ID for this preview control. $ref

Result

Returns OK or error.

Description

A convenience method to release all preview controls.

Examples

Close preview if needed:

If [ $$preview ]
    Set Variable [ $r ; Value: MBS( "Preview.Release"; $$preview ) ]
    Set Variable [ $$preview ; Value: "" ]
End If

See also

Example Databases

Blog Entries

This function checks for a license.

Created 12nd June 2023, last changed 29th June 2023


Preview.LoadFile - Preview.ReleaseAll