ISDBUI::AddOptionSheetEx: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (introduced) |
||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
|SaveProcedure |String |A function from ScriptFile that is called when Options is closed by Ok button. There is one parameter present - a reference to the sheet (a [[SDBUITranspPanel]] object) | |SaveProcedure |String |A function from ScriptFile that is called when Options is closed by Ok button. There is one parameter present - a reference to the sheet (a [[SDBUITranspPanel]] object) | ||
|CancelProcedure |String |A function from ScriptFile that is called when Options is closed, but not by Ok button. There is one parameter present - a reference to the sheet (a [[SDBUITranspPanel]] object) | |CancelProcedure |String |A function from ScriptFile that is called when Options is closed, but not by Ok button. There is one parameter present - a reference to the sheet (a [[SDBUITranspPanel]] object) | ||
|ParentId |Long |Either an ID returned from a previous call to AddOptionSheet or 0 for | |ParentId |Long |Either an ID returned from a previous call to AddOptionSheet or 0 for the last sheet. See other [[possible option sheet values]].}} | ||
===Method description=== | ===Method description=== | ||
Line 15: | Line 15: | ||
Creates a new sheet that appears in Options dialog. | Creates a new sheet that appears in Options dialog. | ||
{{Introduced|3.1.0.1205}} | |||
===Related Topics=== | ===Related Topics=== |
Latest revision as of 15:43, 23 April 2013
CoClass SDBUI, Interface ISDBUI
Function AddOptionSheetEx(SheetLabel As String, ScriptFile As String, InitProcedure As String, SaveProcedure As String, CancelProcedure As String, ParentId As Long) As Long
Parameters
Name | Type | Description |
---|---|---|
SheetLabel | String | A label that appears in the tree of option sheet. |
ScriptFile | String | A script file that contains event functions (InitProcedure and SaveProcedure). |
InitProcedure | String | A function from ScriptFile that is called when Options dialog is created. There is one parameter present - a reference to the sheet (a SDBUITranspPanel object) |
SaveProcedure | String | A function from ScriptFile that is called when Options is closed by Ok button. There is one parameter present - a reference to the sheet (a SDBUITranspPanel object) |
CancelProcedure | String | A function from ScriptFile that is called when Options is closed, but not by Ok button. There is one parameter present - a reference to the sheet (a SDBUITranspPanel object) |
ParentId | Long | Either an ID returned from a previous call to AddOptionSheet or 0 for the last sheet. See other possible option sheet values. |
Method description
Creates a new sheet that appears in Options dialog.
Introduced in MediaMonkey version 3.1.0.1205.