以下是小弟子窗口的父类
TModelW = class(TForm)
procedure FormCreate(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormActivate(Sender: TObject);
procedure FormShow(Sender: TObject);
private
FSetStatus:TStatusEvent;
FPopedom:TPopedom;
FFindItemIndex:integer;
function GetTabStr:string;
procedure SetTabStr(Vtemp:string);
procedure SetADOC(VADO:TADOConnection);
procedure SetFFII(i:integer);
//procedure shearyw(s:string
;
public
FTabStr:string;
procedure saveX; virtual;
procedure SaveAsX; virtual;
procedure PrintX; virtual;
procedure Searchx; virtual;
procedure NewX; virtual;
procedure SearchNo(s:string); virtual;
procedure deletexX; virtual;
procedure SendEmail; virtual;
procedure UpdateList; virtual;
procedure ShowTloos; virtual; abstract;
procedure QuickSearch(const QuickSearch:TQSModel;WhereS:string); virtual;
constructor Create(AOwner: TComponent); override;
protected
FADOC:TADOConnection;
FQQSFType:TQuikSearchFieldType;
FCorplistSelf:Corplist;
FFormType:TFormType;
procedure SendMesToMain(s:string);
procedure SetFindIndex(i:integer);
property ADOC: TADOConnection read FADOC write SetADOC;
published
property TabStringx: string read GetTabStr write SetTabStr;
property OnShowStatu: TStatusEvent read FSetStatus write FSetStatus; //窗口提示
property QuickFindList: TQuikSearchFieldType read FQQSFType; //快速查找类型
property FindItemIndex:integer read FFindItemIndex write SetFFII; //主窗口快速查找的序号
property FormTYpe:TFormType read FFormType; //窗口类型
end;