Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSVclHelperFunctions > Routines

CreateMenuItemChildren(TMenuItem,TStrings,TNotifyEvent,Boolean) Method

Scroll Prev Top Next More

Creates child menu items of the MenuItem for every string in the Strs TStrings parameter.

Namespace: RSVclHelperFunctions

Parameters

MenuItem

Type: TMenuItem

Menu Item to create children for

Strs

Type: TStrings

Child menu items to create

OnClickHandler

Type: TNotifyEvent

OnClick event handler for the new menu items

NumberAccel

Type: Boolean

Determines if the menu item caption should include an accelerator based on its number in the list, e.g., '&0 Strs0', '&1 Strs1', etc.

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb