ISDBUI::AddMenuItemSep: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{MethodDeclaration|SDBUI|ISDBUI|Function AddMenuItemSep(ParentItem As ISDBMenuItem, InSection As Long, ItemOrder As Long) As | {{MethodDeclaration|SDBUI|ISDBUI|Function AddMenuItemSep(ParentItem As [[SDBMenuItem#ISDBMenuItem_members|ISDBMenuItem]], InSection As Long, ItemOrder As Long) As [[SDBMenuItem]]}} | ||
===Parameters=== | ===Parameters=== | ||
{{MethodParameters | {{MethodParameters | ||
|ParentItem |ISDBMenuItem |Specifies where to add the new item, it can either be any of Menu_xxx properties or a value returned from a previous call to [[ISDBUI::AddMenuItemSub]] | |ParentItem |[[SDBMenuItem#ISDBMenuItem_members|ISDBMenuItem]] |Specifies where to add the new item, it can either be any of Menu_xxx properties or a value returned from a previous call to [[ISDBUI::AddMenuItemSub]] | ||
|InSection |Long |To which section of the ParentItem to add the new item (section is a part separated by two separator items). Last section(0), The first(1), The second(2), ..., The first from bottom, i.e.the last(-1), The second from bottom(-2), ... | |InSection |Long |To which section of the ParentItem to add the new item (section is a part separated by two separator items). Last section(0), The first(1), The second(2), ..., The first from bottom, i.e.the last(-1), The second from bottom(-2), ... | ||
|ItemOrder |Long |Where will the item appear within the section: The last(0), The first(1), The second(2), ..., The first from bottom i.e.the last(-1), The second from bottom (-2), ...}} | |ItemOrder |Long |Where will the item appear within the section: The last(0), The first(1), The second(2), ..., The first from bottom i.e.the last(-1), The second from bottom (-2), ...}} | ||
Line 15: | Line 15: | ||
*[[ISDBUI::AddMenuItem]] | *[[ISDBUI::AddMenuItem]] | ||
*[[ISDBUI:: | *[[ISDBUI::AddMenuItemSub]] | ||
[[Category:Scripting|{{PAGENAME}}]] | [[Category:Scripting|{{PAGENAME}}]] |
Revision as of 22:12, 5 March 2008
CoClass SDBUI, Interface ISDBUI
Function AddMenuItemSep(ParentItem As ISDBMenuItem, InSection As Long, ItemOrder As Long) As SDBMenuItem
Parameters
Name | Type | Description |
---|---|---|
ParentItem | ISDBMenuItem | Specifies where to add the new item, it can either be any of Menu_xxx properties or a value returned from a previous call to ISDBUI::AddMenuItemSub |
InSection | Long | To which section of the ParentItem to add the new item (section is a part separated by two separator items). Last section(0), The first(1), The second(2), ..., The first from bottom, i.e.the last(-1), The second from bottom(-2), ... |
ItemOrder | Long | Where will the item appear within the section: The last(0), The first(1), The second(2), ..., The first from bottom i.e.the last(-1), The second from bottom (-2), ... |
Method description
Works as ISDBUI::AddMenuItem, only the created item is a separator (=a horizontal line).