MenuItems Property

NI Vision for Visual Basic

MenuItems Property

Syntax

CWIMAQViewer.MenuItems

Data Type

Long

Purpose

Tools that appear in the viewer run-time popup menu.

Remarks

To select the items displayed in the popup menu, add the members of the following enumerations together: CWIMAQViewerTools, CWIMAQRegionShapes, CWIMAQPalettes, and CWIMAQViewerSettings.

Example

' Display the pan tool and the rectangle tool, but no palettes

CWIMAQViewer1.MenuItems = cwimaqToolPan + cwimaqRegionRect