DataView.BulletActionMenuItem

Prototypes

void BulletActionMenuItem( String sExistingItem <, boolean bBullet> )

Parameters

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.

Remarks

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.

Example
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. */
See Also

DataView.CheckActionMenuItem
DataView.EnableActionMenuItem