unit U_KHGetY; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxClasses, cxControls, cxGridCustomView, cxGrid, ComCtrls, ToolWin, StdCtrls, ExtCtrls; type TfrmKHGetY = class(TForm) Panel1: TPanel; Label2: TLabel; Label1: TLabel; Label4: TLabel; Label5: TLabel; CYNo: TEdit; CYName: TEdit; CYEName: TEdit; CYSpec: TEdit; ToolBar1: TToolBar; TBRafresh: TToolButton; ToolButton2: TToolButton; TBAdd: TToolButton; ToolButton3: TToolButton; TBDel: TToolButton; ToolButton1: TToolButton; ToolButton4: TToolButton; ToolButton5: TToolButton; ToolButton6: TToolButton; TBClose: TToolButton; cxGrid1: TcxGrid; Tv1: TcxGridDBTableView; v1Column12: TcxGridDBColumn; v1Column1: TcxGridDBColumn; v1Column2: TcxGridDBColumn; v1Column3: TcxGridDBColumn; v1Column4: TcxGridDBColumn; v1Column5: TcxGridDBColumn; v1Column6: TcxGridDBColumn; v1Column7: TcxGridDBColumn; v1Column8: TcxGridDBColumn; v1Column9: TcxGridDBColumn; v1Column11: TcxGridDBColumn; cxGrid1Level1: TcxGridLevel; v1Column10: TcxGridDBColumn; v1Column13: TcxGridDBColumn; v1Column14: TcxGridDBColumn; v1Column15: TcxGridDBColumn; procedure FormDestroy(Sender: TObject); procedure FormClose(Sender: TObject; var Action: TCloseAction); private { Private declarations } public { Public declarations } end; var frmKHGetY: TfrmKHGetY; implementation {$R *.dfm} procedure TfrmKHGetY.FormDestroy(Sender: TObject); begin frmKHGetY:=nil; end; procedure TfrmKHGetY.FormClose(Sender: TObject; var Action: TCloseAction); begin Action:=caFree; end; end.