This topic lists the built-in objects and their properties and methods. Code-like declarations are presented as code blocks for readability.
Objects:
log
procedure Add(msg: string);
procedure AddColor(color: DWORD;
msg: string);
property windowTitle: string read FwindowTitle write FwindowTitle;
parm
property RowCount: integer read GetRowCount;
property ColCount: integer read GetColCount;
function CheckForCols(collist: string;
var missing: string): boolean;
function GetParm(row, col: integer): string;
function GetParmByName(row: integer; col: string): string;
// debug functions
function GetRow(i: Integer): string;
function GetColList: string;
query
query
property useLocalDB: flag True/False
property useGridMode: flag True/False
property SQL: string read FSQL write FSQL;
property entityType: Integer read FentityType write FentityType;
property keyColMap: string read FkeyColMap write FkeyColMap;
property windowTitle: string read FwindowTitle write FwindowTitle;
procedure Submit();
difcon
property sysplexName: string read Fsysplex write Fsysplex;
property systemName: string read Fsysid write Fsysid;
property user: string read Fuser write Fuser;
property group: string read Fgroup write Fgroup;
property host: string read Fhost write Fhost;
property passwd: string read Fpasswd write Fpasswd;
property port: integer read Fport write Fport;
property appName: string read FappName write FappName;
property datasetName: string read FdatasetName write FdatasetName;
property ddName: string read FddName write FddName;
property difCmd: string read FdifCmd write FdifCmd;
property difFunc: string read FdifFunc write FdifFunc;
property memberName: string read FmemberName write FmemberName;
property new: string read Fnew write Fnew;
property old: string read Fold write Fold;
property prodName: string read Fgroup write Fgroup;
property cmdStr: string read FcmdStr write FcmdStr;
property cmdSep: char read FcmdSep write FcmdSep;
property echoOutput: boolean read FechoOutput write FechoOutput;
property showMsgID: boolean read FshowMsgID write FshowMsgID;
property dataTimeout: integer read FdataTimeout write FdataTimeout;
property recDef: string read FrecDef write FrecDef;
property inpCards: string read FinpCards write FinpCards;
property outputDest: integer read FoutputDest write FoutputDest;
property outputFilename: string read FoutputFilename write FoutputFilename;
property outputFileAppend: boolean read FoutputFileAppend write FoutputFileAppend;
property keepLast: integer read Fkeeplast write Fkeeplast;
property maxRecs: integer read FmaxRecs write FmaxRecs;
property skipRecs: integer read FskipRecs write FskipRecs;
property clearAfter: integer read FclearAfter write FclearAfter;
property gridInteractive: boolean read FgridInteractive write FgridInteractive;
property tblFooter: boolean read FtableFooter write FtableFooter;
property tblFooterSummary: string read FtableFooterSummary write FtableFooterSummary;
property tblGroupByBox: boolean read FtableGroupByBox write FtableGroupByBox;
property tblGroupFooter: boolean read FtableGroupFooter write FtableGroupFooter;
property tblGroupFooterSummary: string read FtableGroupFooterSummary write FtableGroupFooterSummary;
property tblGrouping: string read FtableGrouping write FtableGrouping;
property tblGroupSummary: string read FtableGroupSummary write FtableGroupSummary;
property tblRowEvenColor: DWORD read FtableRowEvenColor write FtableRowEvenColor;
property tblRowOddColor: DWORD read FtableRowOddColor write FtableRowOddColor;
property tblShowRecTS: boolean read FshowRecTS write FshowRecTS;
property tblShowRunNo: boolean read FshowRunNo write FshowRunNo;
property tblSorting: string read FtableSorting write FtableSorting;
property tblFromFile: boolean read FtableFromFile write FtableFromFile;
property tblFileName: string read FtableFileName write FtableFileName;
property tblStringList: TStringList read FtblStringList write FtblStringList;
property tblLogData: boolean read FtblLogData write FtblLogData;
property tblLogDataSrc: string read FtblLogDataSrc write FtblLogDataSrc;
property windowTitle: string read FwindowTitle write FwindowTitle;
function Submit: string;
prompt
property CaptionLayout: Integer read FCaptionLayout write FCaptionLayout;
property CaptionAlignHorz: Integer read FCaptionAlignHorz write FCaptionAlignHorz;
property CaptionAlignVert: Integer read FCaptionAlignVert write FCaptionAlignVert;
property Use24HrFormat: Boolean read FUse24HrFormat write FUse24HrFormat;
function Submit(): boolean;
procedure AddTextEdit(vname, prompt, def: string);
procedure AddComboBox(vname, prompt, def: string; itmlist: string);
procedure AddDateEdit(vname, prompt: string; daysOffset: Integer);
procedure AddMaskEdit(vname, prompt, def, mask: string);
procedure AddMemo(vname, prompt, def: string);
procedure AddTimeEdit(vname, prompt: string; hrsOffset: Integer);
procedure AddCheckBox(vname, prompt: string; def: Boolean);
function GetVariant(vname: string): variant;
function Value(vname: string): string;