MenubarMarkItem()

Previous Next

Marks with a marker bitmap (e.g. ΓΌ) a specified menu option in order to show that it is active. At the same time, gives the pressed look to its corresponding button.

The marker bitmap can be chosen from USoft's bitmap directory.

Syntax

MenubarMarkItem(<menu page>, <menu option>, <bitmap>|<empty string>)

Parameters

Menu page

The name of the menu page to which the menu option belongs.

menu option

The name of the menu option to be marked or unmarked.

<bitmap>|<empty string>

<bitmap> is the name of the marker bitmap to mark that a specified menu option is active. <empty string> does the reverse by showing that a specified menu option is inactive.

Example

To activate:

MenubarMarkItem('STD_VIEW','Objects...','objects.bmp')

To deactivate:

MenubarMarkItem('STD_VIEW','Objects...','')