ISDBUIButton::OnClickFunc: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
(Supplanted by ISDBScriptControl::RegisterEvent)
Line 4: Line 4:


Name of the function that is called when the button is clicked. The function is expected to be in [[ISDBUIButton::UseScript]] file. There is one parameter passed to the function - this button ([[SDBUIButton]] object).
Name of the function that is called when the button is clicked. The function is expected to be in [[ISDBUIButton::UseScript]] file. There is one parameter passed to the function - this button ([[SDBUIButton]] object).
===Comments===
This property has been supplanted by the [[ISDBScriptControl::RegisterEvent]] method.


===Example code===                     
===Example code===                     

Revision as of 01:57, 7 October 2007

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 ISDBUIButton::UseScript file. There is one parameter passed to the function - this button (SDBUIButton object).

Comments

This property has been supplanted by the ISDBScriptControl::RegisterEvent method.

Example code

'The function to be called can look like:

Sub OnbuttonClick( Btn)
  ' Some code here
End Sub