Microsoft SDK for Java

MainMenu.getForm

Retrieves a Form object that identifies the form that currently hosts the MainMenu control.

Syntax

public Form getForm()

Return Value

Returns a Form object that identifies the form that currently hosts the MainMenu control. If the MainMenu control is not currently hosted on any form, this method returns null.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.