Description

Returns a MainMenu object that represents the main menu of the form.

Syntax

Menu

Example

The following example adds two MenuItem objects to the MainMenu of a form. This example assumes that you have a Form created that is named Form1.

Function CreateMyMainMenu() Dim $menuItem1, $menuItem2 $menuItem1 = $Form1.Menu.MenuItems.Add("File") $menuItem2 = $Form1.Menu.MenuItems.Add("Edit") EndFunction




The CHM file was converted to HTML by chm2web software.