You've already forked lazarus-ccr
LazStats: Complete inherited methods Reset and UpdateBtnStates in ChiSqrUnit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7806 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -759,6 +759,13 @@ var
|
||||
begin
|
||||
inherited;
|
||||
|
||||
if FFrequenciesReportFrame <> nil then
|
||||
FFrequenciesReportFrame.Clear;
|
||||
if FRowColPropsReportFrame <> nil then
|
||||
FRowColPropsReportFrame.Clear;
|
||||
if FCellChiSqrReportFrame <> nil then
|
||||
FCellChiSqrReportFrame.Clear;
|
||||
|
||||
InputGrp.ItemIndex := 0;
|
||||
|
||||
VarList.Clear;
|
||||
@ -816,7 +823,14 @@ end;
|
||||
procedure TChiSqrFrm.UpdateBtnStates;
|
||||
begin
|
||||
inherited;
|
||||
|
||||
|
||||
if FFrequenciesReportFrame <> nil then
|
||||
FFrequenciesReportFrame.UpdateBtnStates;
|
||||
if FRowColPropsReportFrame <> nil then
|
||||
FRowColPropsReportFrame.UpdateBtnStates;
|
||||
if FCellChiSqrReportFrame <> nil then
|
||||
FCellChiSqrReportFrame.UpdateBtnStates;
|
||||
|
||||
RowIn.Enabled := (VarList.Items.Count > 0) and (RowEdit.Text = '');
|
||||
ColIn.Enabled := (VarList.Items.Count > 0) and (ColEdit.Text = '');
|
||||
DepIn.Enabled := (VarList.Items.Count > 0) and (DepEdit.Text = '') and (InputGrp.ItemIndex > 0);
|
||||
|
Reference in New Issue
Block a user