|
|
@@ -23,10 +23,15 @@ type
|
|
|
public
|
|
|
constructor Create(ALeafXmjGlData: TLeafXmjGlData);
|
|
|
destructor Destroy; override;
|
|
|
+
|
|
|
+ procedure ResetViewControl;
|
|
|
end;
|
|
|
|
|
|
implementation
|
|
|
|
|
|
+uses
|
|
|
+ ProjectData;
|
|
|
+
|
|
|
{$R *.dfm}
|
|
|
|
|
|
{ TLeafXmjGlFrame }
|
|
|
@@ -44,4 +49,10 @@ begin
|
|
|
inherited;
|
|
|
end;
|
|
|
|
|
|
+procedure TLeafXmjGlFrame.ResetViewControl;
|
|
|
+begin
|
|
|
+ with TProjectData(FLeafXmjGlData.ProjectData) do
|
|
|
+ saLeafXmjGL.Columns.ColumnByName('UsedQuantity').ReadOnly := StageDataReadOnly;
|
|
|
+end;
|
|
|
+
|
|
|
end.
|