| Class TSDField (unit SDEngine) |
TComponent
| Constructors |
constructor Create(AOwner: TComponent);| Functions |
procedure Assign(Source: TPersistent);
procedure AssignValue(const Value: TVarRec);
procedure Clear;
destructor Destroy;
procedure FocusControl;
function GetData(Buffer: Pointer): Boolean;
function IsValidChar(InputChar: Char): Boolean;
procedure SetData(Buffer: Pointer);
procedure AccessError(const TypeName: string);
procedure Change;
procedure CheckInactive;
procedure DataChanged;
procedure FreeBuffers;
function GetAsBoolean: Boolean;
function GetAsDateTime: TDateTime;
function GetAsFloat: Double;
function GetAsInteger: Longint;
function GetAsString: string;
function GetCanModify: Boolean;
function GetDefaultWidth: Integer;
procedure GetText(var Text: string; DisplayText: Boolean);
function HasParent: Boolean;
procedure PropertyChanged(LayoutAffected: Boolean);
procedure ReadState(Reader: TReader);
procedure SetAsBoolean(Value: Boolean);
procedure SetAsDateTime(Value: TDateTime);
procedure SetAsFloat(Value: Double);
procedure SetAsInteger(Value: Longint);
procedure SetAsString(const Value: string);
procedure SetDataType(Value: TSDFieldType);
procedure SetSize(Value: Word);
procedure SetText(const Value: string);
function GetDisplayLabel: string;
function GetDisplayName: string;
function GetDisplayText: string;
function GetDisplayWidth: Integer;
function GetEditMask: string;
function GetEditText: string;
function GetFieldName: string;
function GetIndex: Integer;
function GetIsIndexField: Boolean;
function GetIsNull: Boolean;
function IsDisplayLabelStored: Boolean;
function IsDisplayWidthStored: Boolean;
procedure SetAlignment(Value: TAlignment);
procedure SetCalculated(Value: Boolean);
procedure SetDataSet(ADataSet: TSDDataSet);
procedure SetDisplayLabel(Value: string);
procedure SetDisplayWidth(Value: Integer);
procedure SetEditMask(const Value: string);
procedure SetEditText(const Value: string);
procedure SetFieldName(const Value: string);
procedure SetIndex(Value: Integer);
procedure SetVisible(Value: Boolean);
procedure UpdateDataSize;| Properties |
property Alignment : TAlignment
property Calculated : Boolean
property DisplayLabel : string
property DisplayWidth : Integer
property FieldName : string
property Index : Integer
property ReadOnly : Boolean
property Required : Boolean
property Visible : Boolean
property AsBoolean : Boolean
property AsDateTime : TDateTime
property AsFloat : Double
property AsInteger : Longint
property AsString : string
property CanModify : Boolean
property DataSet : TSDDataSet
property DataSize : Word
property DataType : TSDFieldType
property DisplayName : string
property DisplayText : string
property EditMask : string
property FieldNo : Integer
property IsIndexField : Boolean
property IsNull : Boolean
property Size : Word
property Text : string
property CurDataSize : SqlTCdl| Events |
event OnChange : TSDFieldNotifyEvent
event OnGetText : TSDFieldGetTextEvent
event OnSetText : TSDFieldSetTextEvent
event OnValidate : TSDFieldNotifyEvent| Variables |
FAlignment : TAlignment;
FCalculated : Boolean;
FCurDataSize : SqlTCdl;
FDataSet : TSDDataSet;
FDataSize : Word;
FDataType : TSDFieldType;
FDisplayLabel : string;
FDisplayWidth : Integer;
FEditMask : string;
FFetchStatus : SqlTFsc;
FFieldName : string;
FFieldNo : Integer;
FOffset : Word;
FOnChange : TSDFieldNotifyEvent;
FOnGetText : TSDFieldGetTextEvent;
FOnSetText : TSDFieldSetTextEvent;
FOnValidate : TSDFieldNotifyEvent;
FReadOnly : Boolean;
FRequired : Boolean;
FSize : Word;
FValidating : Boolean;
FValueBuffer : Pointer;
FVisible : Boolean;| Constructors |
constructor Create(AOwner: TComponent);TSDField
| Functions |
procedure Assign(Source: TPersistent);
procedure AssignValue(const Value: TVarRec);
procedure Clear;
destructor Destroy;
procedure FocusControl;
function GetData(Buffer: Pointer): Boolean;Copies data from DataSet buffer to Buffer parameter
function IsValidChar(InputChar: Char): Boolean;
procedure SetData(Buffer: Pointer);
procedure AccessError(const TypeName: string);
procedure Change;
procedure CheckInactive;
procedure DataChanged;
procedure FreeBuffers;
function GetAsBoolean: Boolean;
function GetAsDateTime: TDateTime;
function GetAsFloat: Double;
function GetAsInteger: Longint;
function GetAsString: string;
function GetCanModify: Boolean;
function GetDefaultWidth: Integer;
procedure GetText(var Text: string; DisplayText: Boolean);
function HasParent: Boolean;
procedure PropertyChanged(LayoutAffected: Boolean);
procedure ReadState(Reader: TReader);
procedure SetAsBoolean(Value: Boolean);
procedure SetAsDateTime(Value: TDateTime);
procedure SetAsFloat(Value: Double);
procedure SetAsInteger(Value: Longint);
procedure SetAsString(const Value: string);
procedure SetDataType(Value: TSDFieldType);
procedure SetSize(Value: Word);
procedure SetText(const Value: string);
function GetDisplayLabel: string;
function GetDisplayName: string;
function GetDisplayText: string;
function GetDisplayWidth: Integer;
function GetEditMask: string;
function GetEditText: string;
function GetFieldName: string;
function GetIndex: Integer;
function GetIsIndexField: Boolean;
function GetIsNull: Boolean;Is data exists ?
function IsDisplayLabelStored: Boolean;
function IsDisplayWidthStored: Boolean;
procedure SetAlignment(Value: TAlignment);
procedure SetCalculated(Value: Boolean);
procedure SetDataSet(ADataSet: TSDDataSet);
procedure SetDisplayLabel(Value: string);
procedure SetDisplayWidth(Value: Integer);
procedure SetEditMask(const Value: string);
procedure SetEditText(const Value: string);
procedure SetFieldName(const Value: string);
procedure SetIndex(Value: Integer);
procedure SetVisible(Value: Boolean);
procedure UpdateDataSize;| Properties |
property Alignment : TAlignment
property Calculated : Boolean
property DisplayLabel : string
property DisplayWidth : Integer
property FieldName : string
property Index : Integer
property ReadOnly : Boolean
property Required : Boolean
property Visible : Boolean
property AsBoolean : Boolean
property AsDateTime : TDateTime
property AsFloat : Double
property AsInteger : Longint
property AsString : string
property CanModify : Boolean
property DataSet : TSDDataSet
property DataSize : Word
property DataType : TSDFieldType
property DisplayName : string
property DisplayText : string
property EditMask : string
property FieldNo : Integer
property IsIndexField : Boolean
property IsNull : Boolean
property Size : Word
property Text : string
property CurDataSize : SqlTCdl| Events |
event OnChange : TSDFieldNotifyEvent
event OnGetText : TSDFieldGetTextEvent
event OnSetText : TSDFieldSetTextEvent
event OnValidate : TSDFieldNotifyEvent| Variables |
FAlignment : TAlignment;
FCalculated : Boolean;
FCurDataSize : SqlTCdl;size of data buffer (for string is FSize-1 )
FDataSet : TSDDataSet;
FDataSize : Word;size of field buffer
FDataType : TSDFieldType;
FDisplayLabel : string;
FDisplayWidth : Integer;Fetch Status Code
FEditMask : string;
FFetchStatus : SqlTFsc;
FFieldName : string;
FFieldNo : Integer;size of actual data
FOffset : Word;
FOnChange : TSDFieldNotifyEvent;
FOnGetText : TSDFieldGetTextEvent;
FOnSetText : TSDFieldSetTextEvent;
FOnValidate : TSDFieldNotifyEvent;
FReadOnly : Boolean;
FRequired : Boolean;
FSize : Word;
FValidating : Boolean;
FValueBuffer : Pointer;
FVisible : Boolean;