TTMSFNCUtils.GetOwnerForm Method
Returns the form that owns or contains a component.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function GetOwnerForm(AComponent: TComponent): TCustomForm;
Parameters
| Name | Description |
|---|---|
AComponent |
Component whose owner and parent hierarchy are inspected. |
Returns
Owner or parent form, or nil when no form is found.