Vcl.Forms.IDesignerHook.Form
Delphi
property Form: TCustomForm read GetCustomForm write SetCustomForm;
C++
__property TCustomForm* Form = {read=GetCustomForm, write=SetCustomForm};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | IDesignerHook |
Description
Provides a reference to the form currently being designed.
Use Form to access the form, if any, that is being designed. When the user specifies changes in the form designer, the changes can be made to the form specified by the Form property.
Note: Not every designer has a form. For example, when the designer is used for a data module, remote data module, or active form, the Form property should not be used. Instead, use the object that the GetRoot method returns.