ISDBMenuItem::OnClickFunc

From MediaMonkey Wiki
Revision as of 15:36, 21 March 2007 by Jiri (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoClass SDBMenuItem, Interface ISDBMenuItem

Property Get/Let OnClickFunc As String


Property description

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

Example code

'The function to be called can look like:

Sub OnMenuItemClick( Item)
  ' Some code here
End Sub