Class TFormulaLib (unit FCLib) |
Inherits from
TComponent
TFormulaLib - holds user aliases and user funtions
constructor Create(AOwner: TComponent);
- TFormulaLib methods
procedure Assign(Source: TPersistent);
destructor Destroy;
function Edit(APage: Integer): Boolean;
edit library contents - show TFormulaLibMan dialog Shows TFormulaLibMan, allows user edit library contents
function ExpandAliases(const S: String): String;
expand aliases - replace aliases in S by their source
function ValidAliasName(const S: String): Integer;
Checks the validity of alias name given in S
function ValidFunctionName(const S: String): Integer;
check validity Checks the validity of function or constant name given in S
procedure DefineProperties(Filer: TFiler);
function CanDeleteName(Name: String): Boolean;
Returns TRUE if entry Name don't referenced by other entries
procedure SetAliases(NewValue: TFunctionList);
procedure SetFunctions(NewValue: TFunctionList);
property Aliases : TFunctionList
list of aliases
property Functions : TFunctionList
list of functions
FAliases : TFunctionList;
FFunctions : TFunctionList;
constructor Create(AOwner: TComponent);
TFormulaLib methods
procedure Assign(Source: TPersistent);
destructor Destroy;
function Edit(APage: Integer): Boolean;
edit library contents - show TFormulaLibMan dialog
Shows TFormulaLibMan, allows user edit library contents
function ExpandAliases(const S: String): String;
expand aliases - replace aliases in S by their source
function ValidAliasName(const S: String): Integer;
Checks the validity of alias name given in S
function ValidFunctionName(const S: String): Integer;
check validity
Checks the validity of function or constant name given in S
procedure DefineProperties(Filer: TFiler);
function CanDeleteName(Name: String): Boolean;
Returns TRUE if entry Name don't referenced by other entries
procedure SetAliases(NewValue: TFunctionList);
procedure SetFunctions(NewValue: TFunctionList);
property Aliases : TFunctionList
list of aliases
property Functions : TFunctionList
list of functions
FAliases : TFunctionList;
FFunctions : TFunctionList;