From MediaMonkey Wiki
Revision as of 21:39, 20 April 2013 by Michal.kocarek (talk | contribs) (introduced, declaration)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CoClass SDBApplication, Interface ISDBApplicationEvents

Sub OnPartyModeEnabled(Enabled As Boolean)


Name Type Description
Enabled Boolean Enabled is True when Party mode has entered and False when Party mode has exited

Event description

Is called when Party mode state changes.

Introduced in MediaMonkey version 4.1.

Example code

Sub OnStartUp()    
    Script.RegisterEvent SDB, "OnPartyModeEnabled", "SDBPartyModeEnabled"
End Sub

Sub SDBPartyModeEnabled(Enabled)
    if Enabled then
      MsgBox("Party mode entered")
      MsgBox("Party mode exited")
    end if  
End Sub