<< Click to Display Table of Contents >> AppendItem SEMenu |
![]() ![]() ![]() |
Purpose
Same as Menu:AppendItem() method, but you can append a menu item to a sub menu.
Prototype
METHOD AppendItem(nItemID, xNewItem, nSubMenuID) CLASS SEMenu
Argument(s)
[<nSubMenuID>] |
The ID of a menu item which opens a sub menu. Alternatively <nSubMenuID> can be a handle of a sub menu. |
Return
TRUE if successful; otherwise, FALSE.
Description
After adding a new item to a menu, you must reassign the menu to the owner window's Menu property for the change to take effect.