?? inherit.pas
字號:
unit Inherit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, ComCtrls, ToolWin;
type
TInheritFrm = class(TForm)
ToolBar1: TToolBar;
ToolButton1: TToolButton;
ToolButton2: TToolButton;
ToolButton3: TToolButton;
ToolButton4: TToolButton;
ImageList1: TImageList;
ToolButton5: TToolButton;
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
public
{ Public declarations }
end;
var
InheritFrm: TInheritFrm;
implementation
uses DataModule;
{$R *.dfm}
procedure TInheritFrm.FormClose(Sender: TObject; var Action: TCloseAction);
begin
case(Sender as TForm).Tag of
1:begin
DM.SchemeDS.Enabled:=false; //生產計劃管理數據源組件處于非使能態
end;
2:begin
DM.Materiel_NeedDS.Enabled:=false; //物料需求計劃管理數據源組件處于非使能態
end;
3:begin
DM.Materiel_StockDS.Enabled:=false; //物料采購計劃管理數據源組件處于非使能態
end;
end;
Action:=caFree; //釋放空間
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -