Skip to content

Commit

Permalink
Merge pull request #9258 from Vitalis95/summary_tablesdialog
Browse files Browse the repository at this point in the history
Improving Summary Tables dialog
  • Loading branch information
Patowhiz authored Nov 15, 2024
2 parents 1131867 + 0a1ad32 commit a8d5cc0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
15 changes: 0 additions & 15 deletions instat/dlgSummaryTables.Designer.vb

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

15 changes: 12 additions & 3 deletions instat/dlgSummaryTables.vb
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,18 @@ Public Class dlgSummaryTables
End If

End Sub

Private Sub btnMoreOptions_Click(sender As Object, e As EventArgs) Handles btnMoreOptions.Click
sdgTableOptions.Setup(ucrSelectorSummaryTables.strCurrentDataFrame, clsJoiningPipeOperator)
Dim clsROperator As ROperator
If rdoFrequencyTable.Checked Then
clsROperator = clsFrequencyOperator
ElseIf rdoSummaryTable.Checked Then
clsROperator = clsSummaryOperator
Else
Exit Sub
End If

sdgTableOptions.Setup(ucrSelectorSummaryTables.strCurrentDataFrame, clsROperator)
sdgTableOptions.ShowDialog(Me)

End Sub
Expand All @@ -338,7 +348,7 @@ Public Class dlgSummaryTables
TestOKEnabled()
End Sub

Private Sub cmdFormatTable_Click(sender As Object, e As EventArgs) Handles cmdFormatTable.Click
Private Sub cmdFormatTable_Click(sender As Object, e As EventArgs)

Dim clsROperator As ROperator
If rdoFrequencyTable.Checked Then
Expand Down Expand Up @@ -385,7 +395,6 @@ Public Class dlgSummaryTables

Private Sub ucrPnlSummaryFrequencyTables_ControlValueChanged(ucrChangedControl As ucrCore) Handles ucrPnlSummaryFrequencyTables.ControlValueChanged
cmdSummaries.Visible = rdoSummaryTable.Checked
cmdFormatTable.Location = New Point(286, If(rdoSummaryTable.Checked, 464, 273))

DialogueSize()
SettingParameters()
Expand Down

0 comments on commit a8d5cc0

Please sign in to comment.