Class TINIField (unit INISec)

Inherits from

TComponent

TINIField

Constructors


constructor Create(AOwner:TComponent);

TINIField


Functions

destructor Destroy;


procedure Change;


function DoGetAsBoolean:Boolean;


function DoGetAsFloat:Double;


function DoGetAsInteger:LongInt;


function DoGetAsString:string;


procedure DoOnConnected;


procedure DoOnDisconnected;


procedure DoOnFieldNameChange;


procedure DoSetAsBoolean(Value:Boolean);


procedure DoSetAsFloat(Value:Double);


procedure DoSetAsInteger(Value:LongInt);


procedure DoSetAsString(const Value:string);


function GetAsBoolean:Boolean;


function GetAsFloat:Double;


function GetAsInteger:LongInt;


function GetAsString:string;


function GetCanModify:Boolean;


function GetDefaultAsBoolean:Boolean;


function GetDefaultAsFloat:Double;


function GetDefaultAsInteger:LongInt;


function GetDefaultAsString:string;


function GetDefaultWidth:Integer;


function GetParentComponent:TComponent;


procedure GetTableChildren(Proc:TGetChildProc);


function HasParent:Boolean;


function IsDirty:Boolean;


procedure Notification(AComponent:TComponent;Operation:TOperation);


procedure ReadState(Reader:TReader);


procedure SetAsBoolean(Value:Boolean);


procedure SetAsFloat(Value:Double);


procedure SetAsInteger(Value:LongInt);


procedure SetAsString(const Value:string);


procedure SetDefaultAsBoolean(Value:Boolean);


procedure SetDefaultAsFloat(Value:Double);


procedure SetDefaultAsInteger(Value:LongInt);


procedure SetDefaultAsString(const Value:string);


procedure SetParentComponent(AParent:TComponent);


function GetCalculated:Boolean;


function GetDisplayLabel:string;


function GetDisplayWidth:Integer;


function GetIndex:Integer;


function IsDisplayLabelStored:Boolean;


function IsDisplayWidthStored:Boolean;


procedure SetCalculated(Value:Boolean);


procedure SetDisplayLabel(Value:string);


procedure SetDisplayWidth(Value:Integer);


procedure SetEditMask(const Value:string);


procedure SetFieldName(const Value:string);


procedure SetIndex(Value:Integer);


procedure SetTable(ATable:TINITable);


procedure SetVisible(Value:Boolean);


Properties

property DisplayLabel : string


property FieldName : string


property Index : Integer


property Visible : Boolean


property AsBoolean : Boolean


property AsFloat : Double


property AsInteger : LongInt


property AsString : string


property Calculated : Boolean


property CanModify : Boolean


property DefaultAsBoolean : Boolean


property DefaultAsFloat : Double


property DefaultAsInteger : LongInt


property DefaultAsString : string


property DisplayWidth : Integer


property EditMask : string


property FieldNo : Integer


property ReadOnly : Boolean


property Table : TINITable


Events

event OnChange : TINIFieldNotifyEvent


event OnFieldNameChange : TINIFieldNotifyEvent


Variables

FDefaultValue : Variant;


FDisplayWidth : Integer;


FIsDirty : Boolean;


FValue : Variant;


FCalculated : Boolean;


FDisplayLabel : string;


FEditMask : string;


FFieldName : string;


FFieldNo : Integer;


FOnChange : TINIFieldNotifyEvent;


FOnFieldNameChange : TINIFieldNotifyEvent;


FReadOnly : Boolean;


FTable : TINITable;


FVisible : Boolean;



Constructors


constructor Create(AOwner:TComponent);

TINIField


Functions


destructor Destroy;


procedure Change;


function DoGetAsBoolean:Boolean;


function DoGetAsFloat:Double;


function DoGetAsInteger:LongInt;


function DoGetAsString:string;


procedure DoOnConnected;


procedure DoOnDisconnected;


procedure DoOnFieldNameChange;


procedure DoSetAsBoolean(Value:Boolean);


procedure DoSetAsFloat(Value:Double);


procedure DoSetAsInteger(Value:LongInt);


procedure DoSetAsString(const Value:string);


function GetAsBoolean:Boolean;


function GetAsFloat:Double;


function GetAsInteger:LongInt;


function GetAsString:string;


function GetCanModify:Boolean;


function GetDefaultAsBoolean:Boolean;


function GetDefaultAsFloat:Double;


function GetDefaultAsInteger:LongInt;


function GetDefaultAsString:string;


function GetDefaultWidth:Integer;


function GetParentComponent:TComponent;


procedure GetTableChildren(Proc:TGetChildProc);


function HasParent:Boolean;


function IsDirty:Boolean;


procedure Notification(AComponent:TComponent;Operation:TOperation);


procedure ReadState(Reader:TReader);


procedure SetAsBoolean(Value:Boolean);


procedure SetAsFloat(Value:Double);


procedure SetAsInteger(Value:LongInt);


procedure SetAsString(const Value:string);


procedure SetDefaultAsBoolean(Value:Boolean);


procedure SetDefaultAsFloat(Value:Double);


procedure SetDefaultAsInteger(Value:LongInt);


procedure SetDefaultAsString(const Value:string);


procedure SetParentComponent(AParent:TComponent);


function GetCalculated:Boolean;


function GetDisplayLabel:string;


function GetDisplayWidth:Integer;


function GetIndex:Integer;


function IsDisplayLabelStored:Boolean;


function IsDisplayWidthStored:Boolean;


procedure SetCalculated(Value:Boolean);


procedure SetDisplayLabel(Value:string);


procedure SetDisplayWidth(Value:Integer);


procedure SetEditMask(const Value:string);


procedure SetFieldName(const Value:string);


procedure SetIndex(Value:Integer);


procedure SetTable(ATable:TINITable);


procedure SetVisible(Value:Boolean);


Properties


property DisplayLabel : string


property FieldName : string


property Index : Integer


property Visible : Boolean


property AsBoolean : Boolean


property AsFloat : Double


property AsInteger : LongInt


property AsString : string


property Calculated : Boolean


property CanModify : Boolean


property DefaultAsBoolean : Boolean


property DefaultAsFloat : Double


property DefaultAsInteger : LongInt


property DefaultAsString : string


property DisplayWidth : Integer


property EditMask : string


property FieldNo : Integer


property ReadOnly : Boolean


property Table : TINITable


Events


event OnChange : TINIFieldNotifyEvent


event OnFieldNameChange : TINIFieldNotifyEvent


Variables


FDefaultValue : Variant;


FDisplayWidth : Integer;


FIsDirty : Boolean;


FValue : Variant;


FCalculated : Boolean;


FDisplayLabel : string;


FEditMask : string;


FFieldName : string;


FFieldNo : Integer;


FOnChange : TINIFieldNotifyEvent;


FOnFieldNameChange : TINIFieldNotifyEvent;


FReadOnly : Boolean;


FTable : TINITable;


FVisible : Boolean;