Skip to content

Commit

Permalink
changes to the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalis95 committed Oct 24, 2023
1 parent c6466a1 commit 01ab8a8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions instat/dlgDescribeTwoVariable.vb
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ Public Class dlgDescribeTwoVariable
ucrChkSummariesRowCol.SetRCode(clsDummyFunction, bReset)
ucrReceiverThreeVariableSecondFactor.SetRCode(clsSummaryTableCombineFactorsFunction, bReset)
ucrReceiverThreeVariableThirdVariable.SetRCode(clsSummaryTableCombineFactorsFunction, bReset)
'ucrPnlColumnFactor.SetRCode(clsDummyFunction, bReset)
ucrChkDisplayMargins.SetRCode(clsCombineFrequencyParametersFunction, bReset)
ucrSaveTable.SetRCode(clsGroupByPipeOperator, bReset)
bRcodeSet = True
Expand Down Expand Up @@ -516,6 +515,7 @@ Public Class dlgDescribeTwoVariable
End If
FactorColumns()
'ChangePrefix()

End Sub

'Private Sub ChangePrefix()
Expand Down Expand Up @@ -604,7 +604,6 @@ Public Class dlgDescribeTwoVariable
AddRemoveNAParameter()
HideFormatTableButton()
FactorColumns()
SummariesInRowsOrCols()
End Sub

Private Sub HideFormatTableButton()
Expand Down Expand Up @@ -662,7 +661,7 @@ Public Class dlgDescribeTwoVariable
Else
clsPivotWiderFunction.AddParameter("names_from", Chr(39) & "summary-variable" & Chr(39), iPosition:=0)
clsSummaryTableFunction.AddParameter("columns_to_summarise", ucrReceiverFirstVars.GetVariableNames)
clsSummaryTableFunction.AddParameter("factors", ucrReceiverSecondTwoVariableFactor.GetVariableNames)
SummariesInRowsOrCols()
End If
End If
End Sub
Expand Down Expand Up @@ -763,7 +762,6 @@ Public Class dlgDescribeTwoVariable
AddRemoveFrequencyParameters()
AddRemoveNAParameter()
HideFormatTableButton()
' TestOKEnabled()
End Sub

Private Sub ChangeSumaryLabelText()
Expand Down Expand Up @@ -843,7 +841,7 @@ Public Class dlgDescribeTwoVariable
ManageControlsVisibility()
'TestOKEnabled()
FactorColumns()
SummariesInRowsOrCols()
'SummariesInRowsOrCols()
End Sub

Private Sub ChangeFirstTypeLabel()
Expand Down Expand Up @@ -873,8 +871,8 @@ Public Class dlgDescribeTwoVariable
End If
End Sub

Private Sub ucrReceiverFirstVars_ControlValueAndContentChanged(ucrChangedControl As ucrCore) Handles ucrReceiverFirstVars.ControlValueChanged
'ucrReceiverFirstVars.ControlContentsChanged()
Private Sub ucrReceiverFirstVars_ControlValueAndContentChanged(ucrChangedControl As ucrCore) Handles ucrReceiverFirstVars.ControlValueChanged,
ucrReceiverFirstVars.ControlContentsChanged
ChangeFirstTypeLabel()
ChangeSumaryLabelText()
UpdateSummaryTableFunction()
Expand All @@ -888,7 +886,7 @@ Public Class dlgDescribeTwoVariable
HideFormatTableButton()
'TestOKEnabled()
FactorColumns()
SummariesInRowsOrCols()
'SummariesInRowsOrCols()
End Sub

Private Sub ucrReceiverThreeVariableSecondFactor_ControlValueChanged(ucrChangedControl As ucrCore) Handles ucrReceiverThreeVariableSecondFactor.ControlValueChanged
Expand Down Expand Up @@ -1014,6 +1012,7 @@ Public Class dlgDescribeTwoVariable
End Sub

Private Sub ucrChkSummariesRowCol_ControlValueChanged(ucrChangedControl As ucrCore) Handles ucrChkSummariesRowCol.ControlValueChanged
ManageControlsVisibility()
SummariesInRowsOrCols()
End Sub
End Class

0 comments on commit 01ab8a8

Please sign in to comment.