Control.getTopLevelControl

Overview | Methods | Fields | This Package | All Packages

Control.getTopLevelControl

Retrieves the top-level control that contains this control.

Syntax

public final Control getTopLevelControl()

Return Value

Returns the top-level control that contains this control.

Remarks

This method does not necessarily return the same value as the getForm method because forms can have other controls as parents.