Prompts the user to select an item from a single-level Custom Menu using a modal dialog form.

Syntax

ISCommonDialog.GetCustomMenuSelection(menuItemId, customMenu, [defaultMenuItemId], [title], [includeMenuItemIdColumn], [groupByTarget])

Parameters

NameTypeOptionalByRefDescription
menuItemId String ByRef The Id of the selected menu item.
customMenu ISCustomMenu The Custom Menu.
defaultMenuItemId String Optional The Id of the default menu item to select.
title String Optional The text to display in the window title.
includeMenuItemIdColumn Boolean Optional Indicates whether to include the Menu Item Id in the grid from which the User selects the item. If omitted, a value of False is assumed.
groupByTarget Boolean Optional Indicates whether to Group items by their Target property. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value, True indicates the User clicked OK, False indicates the User clicked Cancel.

Member of:
ISCommonDialog
Namespace:
Intersoft.ISUserInterface6
Assembly:
ISUserInterface6, Version=6.0.3
Target Framework:
.NET 9.0