Skip to content

Commit

Permalink
Merge pull request IDEMSInternational#8796 from N-thony/column_summary
Browse files Browse the repository at this point in the history
Moved the Percentage sub-dialog into the Summaries sub-dialog in Prepare > Data Reshape > Column Summaries
  • Loading branch information
conlooptechnologies authored Feb 12, 2024
2 parents b586d43 + f286201 commit df7d685
Show file tree
Hide file tree
Showing 5 changed files with 1,183 additions and 1,087 deletions.
96 changes: 48 additions & 48 deletions instat/dlgColumnStats.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions instat/dlgColumnStats.vb
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,6 @@ Public Class dlgColumnStats
TestOKEnabled()
End Sub

Private Sub cmdProportionsPercentages_Click(sender As Object, e As EventArgs) Handles cmdProportionsPercentages.Click
sdgProportionsPercentages.SetRFunction(clsDefaultFunction, bResetSubdialog)
sdgProportionsPercentages.ShowDialog()
bResetSubdialog = False
TestOKEnabled()
End Sub

Private Sub ucrChkOmitMissing_ControlValueChanged(ucrChangedControl As ucrCore) Handles ucrChkOmitMissing.ControlValueChanged
If clsSummariesList.ContainsParameter("summary_cor") OrElse clsSummariesList.ContainsParameter("summary_cov") Then
clsDefaultFunction.AddParameter("use", Chr(34) & "'na.or.complete'" & Chr(34))
Expand Down
3 changes: 2 additions & 1 deletion instat/sdgProportionsPercentages.vb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ Public Class sdgProportionsPercentages

ucrChkProportionsPercentages.SetParameter(New RParameter("percentage_type"))
ucrChkProportionsPercentages.SetValuesCheckedAndUnchecked(Chr(34) & "factors" & Chr(34), Chr(34) & "none" & Chr(34))
ucrChkProportionsPercentages.SetRDefault(Chr(34) & "none" & Chr(34))
ucrChkProportionsPercentages.SetText("Calculate Proportions or Percentages")

ucrPnlBY.AddToLinkedControls({ucrReceiverByFactor, ucrChkDisplayAsDecimal}, objValues:={rdoByFactors}, bNewLinkedAddRemoveParameter:=True, bNewLinkedHideIfParameterMissing:=True)
Expand All @@ -70,6 +69,8 @@ Public Class sdgProportionsPercentages
InitialiseControls()
End If
clsDefaultFunction = clsNewDefaultFunction
clsDefaultFunction.AddParameter("percentage_type", Chr(34) & "factors" & Chr(34))

SetRCode(Me, clsDefaultFunction, bReset)
End Sub

Expand Down
Loading

0 comments on commit df7d685

Please sign in to comment.