|
<< Click to Display Table of Contents >> Navigation: Classes > TContentForm > Methods > Create |
Constructs an instance of the class TContentForm and initializes its data.
SIGNATURE=IW.Content.Form.TContentForm.Create@string@TBeforeExecuteHandlerProc
ETYPE=Method
Declaration:
Delphi: |
public constructor Create(const aFormClassName: string; DoBeforeExecuteCallback: TBeforeExecuteHandlerProc = nil); overload; reintroduce; |
C++: |
public: __fastcall TContentForm(const String aFormClassName, TBeforeExecuteHandlerProc DoBeforeExecuteCallback = null |
Description: This is Create, a member of class TContentForm.
Parameters:
•aFormClassName (string): Name of the IWAppForm class, e.g, 'TIWForm1'. This allows you to register a TContentForm instance using only the form class name. To use this type of registration, you must register the form class using Classes.RegisterClass() method, because IntraWeb will retrieve this class using RTL's FindClass() method.
•DoBeforeExecuteCallback (TBeforeExecuteHandlerProc): Reference to a TBeforeExecuteHandler procecure. This event will be triggered before execution of the content handler.