Skip to content

Commit

Permalink
Merge pull request IDEMSInternational#9083 from Fidel365/Frontmnu
Browse files Browse the repository at this point in the history
Updates for the help menu and small improvements to the front screen
  • Loading branch information
N-thony authored Jul 29, 2024
2 parents 470eaea + 54d5c58 commit cfc307a
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 69 deletions.
10 changes: 4 additions & 6 deletions instat/dlgCalculator.vb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Public Class dlgCalculator
SetDefaults()
bFirstLoad = False
End If
SetHelpOptions()
SetStructuredMenu()
ReopenDialog()
TestOKEnabled()
autoTranslate(Me)
Expand Down Expand Up @@ -75,7 +75,7 @@ Public Class dlgCalculator
bInsertColumnBefore:=ucrBase.clsRsyntax.clsBaseCommandString.bInsertColumnBefore,
bRequireCorrectLength:=ucrBase.clsRsyntax.clsBaseCommandString.bRequireCorrectLength)
ucrBase.Visible = True
SetHelpOptions()
SetStructuredMenu()
End Sub

Private Sub ReopenDialog()
Expand Down Expand Up @@ -261,10 +261,8 @@ Public Class dlgCalculator
End If
End Sub

Private Sub SetHelpOptions()
Private Sub SetStructuredMenu()
Select Case enumCalculatorMode
Case CalculatorMode.Prepare
ucrBase.iHelpTopicID = 14
Case CalculatorMode.Structured
ucrCalc.ucrInputCalOptions.SetName("Circular")
ucrBase.iHelpTopicID = 677
Expand Down Expand Up @@ -324,7 +322,7 @@ Public Class dlgCalculator
Case "Symbols"
Me.Width = iBasicWidth * 2.56
Case "Goodness of Fit"
Me.Width = iBasicWidth * 1.27
Me.Width = iBasicWidth * 1.25
ucrBase.iHelpTopicID = 717
Case "Integer"
Me.Width = iBasicWidth * 1.5
Expand Down
Loading

0 comments on commit cfc307a

Please sign in to comment.