📄 absreg.pas
字号:
unit ABSReg;
{$I ABSVer.inc}
interface
procedure Register; // register AbsoluteDatabase components in group AbsoluteDatabase
implementation
uses Classes, TypInfo, Controls,
{$IFDEF D6H}
DesignIntf,
{$ELSE}
Dsgnintf,
{$ENDIF}
// AbsoluteDatabase units
ABSMain,
ABSEdit;
//------------------------------------------------------------------------------
// registration
//------------------------------------------------------------------------------
procedure Register;
begin
RegisterComponents('Absolute DB', [TABSTable]);
RegisterComponents('Absolute DB', [TABSQuery]);
RegisterComponents('Absolute DB', [TABSDatabase]);
RegisterComponents('Absolute DB', [TABSSession]);
//--- dataset ---
RegisterPropertyEditor(TypeInfo(string),TABSDataSet,'SessionName',
TABSSessionNameProperty);
RegisterPropertyEditor(TypeInfo(string), TABSDataset, 'DatabaseName',
TABSDatabaseNameProperty);
//--- table ---
RegisterPropertyEditor(TypeInfo(string), TABSTable, 'TableName',
TABSTableNameProperty);
RegisterPropertyEditor(TypeInfo(string), TABSTable, 'MasterFields',
TABSFieldLinkProperty);
RegisterPropertyEditor(TypeInfo(string), TABSTable, 'IndexName', TABSIndexNameProperty);
RegisterPropertyEditor(TypeInfo(string), TABSTable, 'IndexFieldNames', TABSIndexFieldNamesProperty);
// --- database ---
RegisterPropertyEditor(TypeInfo(string),TABSDatabase,'SessionName',
TABSSessionNameProperty);
RegisterPropertyEditor(TypeInfo(string), TABSDatabase, 'DatabaseFileName',
TABSDatabaseFileNameProperty);
end; // Register
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -