Unit dnPxFlds

Classes

TPxBCDField - TPxBCDField
TPxCurrencyField - TPxCurrencyField
TPxDateField - TPxDateField
TPxDateTimeField - TPxDateTimeField
TPxFloatField - TPxFloatField
TPxIntegerField - TPxIntegerField
TPxSmallintField - TPxSmallintField
TPxStringField - TPxStringField
TPxTimeField - TPxTimeField
TPxWordField - TPxWordField

Functions

LoadPxMasksFromIni - * Load/Store PxMask-properties from/to an IniFile; if ClearStoredFlag is set (this is not yet supported), then those PxMasks will not be stored in DFM-file (in design-mode), i.
StorePxMasksToIni -

Types

Constants

Variables


Functions


function LoadPxMasksFromIni( DataSet: TDataSet; const IniFileName : string; ClearStoredFlag: boolean): boolean;

* Load/Store PxMask-properties from/to an IniFile; if ClearStoredFlag is set (this is not yet supported), then those PxMasks will not be stored in DFM-file (in design-mode), i.e. they will be LOST next time you open the form, so you'll have to call LoadPxMasksFromIni in DataSet's OnAfterOpen. If DataSet is a non-SQL Table and PXM-file is in the same directory as Table then e.g. procedure TForm1.Table1AfterOpen(DataSet: TDataSet); begin LoadPxMasksFromIni(DataSet, ChangeFileExt(QualifiedTableName(DataSet as TTable), PxMaskFileExt), true); //that's how TPxTable does it automatically end; function QualifiedTableName defined in dnDBUtil.pas const PxMaskFileExt defined in dnGlobal.pas

function StorePxMasksToIni( DataSet: TDataSet; const IniFileName : string; ClearStoredFlag: boolean): boolean;


Types


Constants


Variables