Control.getForm

Overview | Methods | Fields | This Package | All Packages

Control.getForm

Retrieves the form that this control is on.

Syntax

public Form getForm()

Return Value

Returns a Form object that represents the form that contains this control.

Remarks

The parent for a control is not necessarily the form. For example, the parent for a radio button in a group box is the group box, not the form that contains the radio button.