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

WMFP.SetVisible

Hides or shows the player.

Component Version macOS Windows Linux Server iOS SDK
WMFP 10.0 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WMFP.SetVisible"; Player; Visible )   More

Parameters

Parameter Description Example
Player The reference number for the Windows Media Foundation Player object. $$Player
Visible The new visible state.
Pass 0 to hide or 1 to show.
1

Result

Returns OK or error.

Description

Hides or shows the player.
By default we create it visible, but you can hide it if it's on a register and the user clicked to other tab.

Examples

Hide player, e.g. when switching layouts or registers:

Set Variable [ $r ; Value: MBS("WMFP.SetVisible"; $$player; 0) ]

Show player:

Set Variable [ $r ; Value: MBS("WMFP.SetVisible"; $$player; 1) ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 25th December 2019, last changed 25th December 2019


WMFP.SetTag - WMFP.SetVolume

💬 Ask a question or report a problem