void BulletActionMenuItem( String sExistingItem <, boolean bBullet> )
String sExistingItem
An existing menu item. See the documentation for AppendActionMenuItemToGroup for ways to specify sExistingItem for cascading
menus.
boolean bBullet
If bBullet is true, the specified item is bulleted. If bBullet is false, any bullet on the item is removed. Calling this method without specifying the
bBullet parameter is equivalent to calling it with bBullet equal to true.
This method places a bullet (•) to the left of an item on the action menu. Any other bullets in the item's group are removed. A group is delimited either by menu separators or by the beginning or end of the menu.
You cannot place a bullet on a cascading menu item.
declare ScatterPlot plot; plot = ScatterPlot.Create( "Action Menu", 1:10, 1:10 ); plot.AppendActionMenuItem( "Item 1", "print 'Item 1';" ); plot.AppendActionMenuItem( "Item 2", "print 'Item 2';" ); plot.BulletActionMenuItem( "Item 2" ); /* Press F11 in the plot window to see the menu. */