TFReportContents - Events - Methods - Properties
Description
TFReport component is responsible for the actual HTML generation process.Use TFReport as a container for all other FR components.
Contents - TFReport - Properties - Methods
OnException
OnGetONCLICKDelphi declaration
property OnException: TFRExeptionEvent read FOnException write FOnException;
C++ declaration
__property TFRExeptionEvent OnException={ read=FOnException, write=FOnException }
Description
OnException event will be triggered , if an exception is raised while generating HTML. Use this event to free resources allocated in OnPrepare event and to take specific recovery actions.
Delphi declarationOnGetONDBLCLICK
property OnGetONCLICK;
C++ declaration
__property OnGetONCLICK
Delphi declarationOnGetONKEYDOWN
property OnGetONDBLCLICK;
C++ declaration
__property OnGetONDBLCLICK
Delphi declarationOnGetONKEYPRESS
property OnGetONKEYDOWN;
C++ declaration
__property OnGetONKEYDOWN
Delphi declarationOnGetONKEYUP
property OnGetONKEYPRESS;
C++ declaration
__property OnGetONKEYPRESS
Delphi declarationOnGetONLOAD
property OnGetONKEYUP;
C++ declaration
__property OnGetONKEYUP
OnGetONMOUSEDOWNDelphi declaration
property OnGetONLOAD: TFRGetEvent read FOnGetONLOAD write FOnGetONLOAD;
C++ declaration
__property TFRGetEvent OnGetONLOAD={ read=FOnGetONLOAD, write=FOnGetONLOAD }
Description
OnGetONLOAD event is used to get value for ONLOAD HTML event.
Delphi declarationOnGetONMOUSEMOVE
property OnGetONMOUSEDOWN;
C++ declaration
__property OnGetONMOUSEDOWN
Delphi declarationOnGetONMOUSEOUT
property OnGetONMOUSEMOVE;
C++ declaration
__property OnGetONMOUSEMOVE
Delphi declarationOnGetONMOUSEOVER
property OnGetONMOUSEOUT;
C++ declaration
__property OnGetONMOUSEOUT
Delphi declarationOnGetONMOUSEUP
property OnGetONMOUSEOVER;
C++ declaration
__property OnGetONMOUSEOVER
Delphi declarationOnGetONUNLOAD
property OnGetONMOUSEUP;
C++ declaration
__property OnGetONMOUSEUP
OnPrepareDelphi declaration
property OnGetONUNLOAD: TFRGetEvent read FOnGetONUNLOAD write FOnGetONUNLOAD;
C++ declaration
__property TFRGetEvent OnGetONUNLOAD={ read=FOnGetONUNLOAD, write=FOnGetONUNLOAD }
Description
OnGetONUNLOAD event is used to get value for ONUNLOAD HTML event.
OnUnprepareDelphi declaration
property OnPrepare: TFRSimpleEvent read FOnPrepare write FOnPrepare;
C++ declaration
__property TFRSimpleEvent OnPrepare={ read=FOnPrepare, write=FOnPrepare }
Description
OnPrepare event will be triggered before HTML generation starts. Use this event to allocate resources, open queries , etc.
Delphi declaration
property OnUnprepare: TFRSimpleEvent read FOnUnprepare write FOnUnprepare;
C++ declaration
__property TFRSimpleEvent OnUnprepare={ read=FOnUnprepare, write=FOnUnprepare }
Description
OnUnprepare event will be triggered after t he HTML generation is finished. Use this event to free resources allocated in OnPrepare event.
Contents - TFReport - Properties - Events
InputParamAsBool
InputParamAsDateTimeDelphi declaration
function InputParamAsBool(ParamName: AnsiString): Boolean;
C++ declaration
bool __fastcall InputParamAsBool(System::AnsiString ParamName)
Description
Use to get boolean representation of a n input parameter.
InputParamAsDoubleDelphi declaration
function InputParamAsDateTime(ParamName: AnsiString; flag: TFRDateTimeFlag): TDateTime;
C++ declaration
System::TDateTime __fastcall InputParamAsDateTime(System::AnsiString ParamName, TFRDateTimeFlag flag)
Description
Use to get TDateTime representation of a n input parameter.
InputParamAsStringDelphi declaration
function InputParamAsDouble(ParamName: AnsiString): double;
C++ declaration
double __fastcall InputParamAsDouble(System::AnsiString ParamName)
Description
Use to get double representation of a n input parameter.
PrepareDelphi declaration
function InputParamAsString(ParamName: AnsiString): AnsiString;
C++ declaration
System::AnsiString __fastcall InputParamAsString(System::AnsiString ParamName)
Description
Use to get string representation of a n input parameter.
PreparePDelphi declaration
procedure Prepare(Destination: TStrings);
C++ declaration
void __fastcall Prepare(Classes::TStrings *Destination)
Description
Use to insert an HTML document into a TStrings object. This form cannot give input parameters to your report.You will not need this method to create ISAPI application.
PreparePPDelphi declaration
procedure PrepareP(Destination, PathList, ParamsList: TStrings);
C++ declaration
void __fastcall PrepareP(Classes::TStrings *Destination, Classes::TStrings *PathList, Classes::TStrings *ParamsList)
Description
Use to insert a n HTML document into a TStrings object. Give request parameters and t he URL path as TStrings.You will not need this method to create an ISAPI application.
Delphi declaration
procedure PrepareP(ARequest:TFRISAPIRequest; AResponse:TFRISAPIResponse);
C++ declaration
void __fastcall PrepareP(TFRISAPIRequest* ARequest,TFRISAPIResponse* AResponse )
Description
Use to insert a n HTML document into a TFRISAPIResponse object and use input parameters from TFRISAPIRequest object.This method is used in ISAPI applications inside TISAPIActionItem.OnAction event.
Contents - TFReport - Methods - Events
Alignment
Delphi declarationDataSource
property Alignment;
C++ declaration
__property Alignment
EQUIV_MetasDelphi declaration
property DataSource: TFRDataSource read FDefActionSource write SetDataSource;
C++ declaration
__property TFRDataSource *DataSource={ read=FDefActionSource, write=SetDataSource, nodefault }
Description
Main datasource for database co n nected report.TFRDataSource component, referenced in the DataSource property will be prepared for inserting t he data, it's preparation routines will be called before result HTML is generated.
NOTE: if you are using the TFRGroupManager component or t he database management with control's FRDAction , you must set t he DataSource property to your TFReport component.
InsertAllDelphi declaration
property EQUIV_Metas: THTMLMetas read FMetasEquiv write FMetasEquiv;
C++ declaration
__property THTMLMetas *EQUIV_Metas={ read=FMetasEquiv, write=FMetasEquiv, nodefault }
Description
EQUIV_Metas will be inserted int o HTML document in t he form <META HTTP-EQUIV=... CONTENT=...>
LicenceKeyDelphi declaration
property InsertAll: Boolean read FInsertAll write FInsertAll default true;
C++ declaration
__property bool InsertAll={ read=FInsertAll, write=FInsertAll, default=1 }
Description
If InsertAll is true , the whole HTML document will be inserted into t he response ; if it is false, only t he part between the <BODY> and </BODY> tags will be inserted.
NAME_MetasDelphi declaration
property LicenceKey: TEKeyProp read FKeyProp write FKeyProp;
C++ declaration
__property Unkeyprop::TEKeyProp *LicenceKey={ read=FKeyProp, write=FKeyProp, nodefault }
Description
Use LicenceKey property to insert your licence key code.
ONCLICKDelphi declaration
property NAME_Metas: THTMLMetas read FMetas write FMetas;
C++ declaration
__property THTMLMetas *NAME_Metas={ read=FMetas, write=FMetas, nodefault }
Description
NAME_Metas will be inserted int o the HTML document in the form <META NAME=... CONTENT=...>
Delphi declarationONDBLCLICK
property ONCLICK;
C++ declaration
__property ONCLICK
Delphi declarationONKEYDOWN
property ONDBLCLICK;
C++ declaration
__property ONDBLCLICK
Delphi declarationONKEYPRESS
property ONKEYDOWN;
C++ declaration
__property ONKEYDOWN
Delphi declarationONKEYUP
property ONKEYPRESS;
C++ declaration
__property ONKEYPRESS
Delphi declarationONLOAD
property ONKEYUP;
C++ declaration
__property ONKEYUP
ONMOUSEDOWNDelphi declaration
property ONLOAD: AnsiString read FONLOAD write FONLOAD;
C++ declaration
__property System::AnsiString ONLOAD={ read=FONLOAD, write=FONLOAD, nodefault }
Description
Use ONLOAD property to set ONLOAD HTML event at designtime.
Delphi declarationONMOUSEMOVE
property ONMOUSEDOWN;
C++ declaration
__property ONMOUSEDOWN
Delphi declarationONMOUSEOUT
property ONMOUSEMOVE;
C++ declaration
__property ONMOUSEMOVE
Delphi declarationONMOUSEOVER
property ONMOUSEOUT;
C++ declaration
__property ONMOUSEOUT
Delphi declarationONMOUSEUP
property ONMOUSEOVER;
C++ declaration
__property ONMOUSEOVER
Delphi declarationONUNLOAD
property ONMOUSEUP;
C++ declaration
__property ONMOUSEUP
ParamNamesDelphi declaration
property ONUNLOAD: AnsiString read FONUNLOAD write FONUNLOAD;
C++ declaration
__property System::AnsiString ONUNLOAD={ read=FONUNLOAD, write=FONUNLOAD, nodefault }
Description
Use ONUNLOAD property to set ONUNLOAD HTML event at designtime.
RequestDelphi declaration
property ParamNames: TStringList read FParamNames write SetParamNames;
C++ declaration
__property Classes::TStringList *ParamNames={ read=FParamNames, write=SetParamNames, nodefault }
Description
List of parameter names.Parameters recieved from t he client and listed in t he ParamNames list can be sent out with TFRHidden component and they will be sent back to the server when the same form is used next time.
Use ParamNames when you need to use the same parameters several times. For example, if you use TFRGroupManager for grouping t he results returned by SQL query, you will need to re-open your SQL query each time when t he user scrolls to another group. If you need parameters for your SQL, you must use t he ParamNames property to set up the list of parameters needed and one TFRHidden component fo r each parameter.
ResponseDelphi declaration
Request: TFRISAPIRequest;
C++ declaration
Frisapiapp::TFRISAPIRequest *Request
Description
TFRISAPIRequest object.Use request to get access to t he request recieved from the client.
Delphi declarationStyle
Response: TFRISAPIResponse;
C++ declaration
Frisapiapp::TFRISAPIResponse *Response
Description
TFRISAPIResponse object.Use response to get access to the response that will be sent to the client.
Delphi declarationTitle
property Style;
C++ declaration
__property Style
Delphi declaration
property Title: AnsiString read FTitle write FTitle;
C++ declaration
__property System::AnsiString Title={ read=FTitle, write=FTitle, nodefault }
Description
Title of t he HTML document. Most browsers will display the title in t he browser's window title bar.