Sequence.GetEntryPointMenuFromHint

Syntax

Sequence.GetEntryPointMenuFromHint( menuNameList)

Return Value

Long

Returns a zero-based index into the list of menu names you pass as the menuNameList parameter. This index indicates the menu to which the entry point belongs in the menu. If none of the menus in the list matches a menu hint for the entry point, the method returns -1 . If this occurs, you must choose the menu in which to display the entry point. You can choose the menu based on the type of entry point.

Purpose

This method applies only to an entry point sequence in a process model file. Call this function to determine the user interface menu in which the entry point belongs. The method uses the Menu Hints option for the entry point sequence.

Parameters

menuNameList As String

[In] Pass a comma-separated list of the menu names in the user interface, such as " File,Configure,Debug ".

Note The method ignores all " _ " and " & " characters when comparing the names in the list with the menu hints for the entry point.

See Also

Sequence.EntryPointMenuHint

Sequence.Type