ISDBUIButton::OnClickFunc

From MediaMonkey Wiki
Revision as of 15:53, 23 April 2013 by Michal.kocarek (talk | contribs) (deprecated by OnClick event)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoClass SDBUIButton, Interface ISDBUIButton

Property Get/Let OnClickFunc As String


Property description

Name of the function that is called when the button is clicked. The function is expected to be in UseScript file. There is one parameter passed to the function - this button (SDBMenuItem object).

Deprecated: Use the OnClick event registration instead.

Example code

'The function to be called can look like:

Sub OnButtonClick(Button)
  ' Some code here
End Sub