SDBMenuItem: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
m (deprecated OnClickFunc, UseScript.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{AutomationObjectsList}}
== CoClass SDBMenuItem ==
== CoClass SDBMenuItem ==


Object representing a single menu or toolbar item.
MediaMonkey menus and toolbars are represented by same structure. Both menu items and toolbar buttons are represented by SDBMenuItem objects. [[SDBUI|SDB.UI]] object provides references to existing toolbars and menus and also contains toolbar/menu manipulation methods.


=== ISDBMenuItem members ===
=== ISDBMenuItem members ===
Line 11: Line 12:
|[[ISDBMenuItem::Checked|Checked]] |Property Get/Let |   
|[[ISDBMenuItem::Checked|Checked]] |Property Get/Let |   
|[[ISDBMenuItem::IconIndex|IconIndex]] |Property Get/Let |   
|[[ISDBMenuItem::IconIndex|IconIndex]] |Property Get/Let |   
|[[ISDBMenuItem::OnClickFunc|OnClickFunc]] |Property Get/Let |
|[[ISDBMenuItem::OnClickFunc|OnClickFunc]] |Property Get/Let | Deprecated
|[[ISDBMenuItem::ShortCut|ShortCut]] |Property Get/Let |   
|[[ISDBMenuItem::ShortCut|ShortCut]] |Property Get/Let |   
|[[ISDBMenuItem::UseScript|UseScript]] |Property Get/Let |
|[[ISDBMenuItem::UseScript|UseScript]] |Property Get/Let | Deprecated
|[[ISDBMenuItem::Visible|Visible]] |Property Get/Let |   
|[[ISDBMenuItem::Visible|Visible]] |Property Get/Let |   
}}
}}
Line 26: Line 27:
[[Category:Automation objects|{{PAGENAME}}]]
[[Category:Automation objects|{{PAGENAME}}]]
[[Category:CoClass SDBMenuItem|{{PAGENAME}}]]
[[Category:CoClass SDBMenuItem|{{PAGENAME}}]]
=== Related Topics ===
*[[ISDBUI::Menu Compendium]]

Latest revision as of 15:03, 23 April 2013

CoClass SDBMenuItem

MediaMonkey menus and toolbars are represented by same structure. Both menu items and toolbar buttons are represented by SDBMenuItem objects. SDB.UI object provides references to existing toolbars and menus and also contains toolbar/menu manipulation methods.

ISDBMenuItem members

Name Type Description
Caption Property Get/Let
Enabled Property Get/Let
Hint Property Get/Let
Checked Property Get/Let
IconIndex Property Get/Let
OnClickFunc Property Get/Let Deprecated
ShortCut Property Get/Let
UseScript Property Get/Let Deprecated
Visible Property Get/Let


ISDBMenuItemEvents members

Name Type Description
OnClick Event

Related Topics