Skip to content

Commit

Permalink
Created a dropdown for the Dataview button
Browse files Browse the repository at this point in the history
  • Loading branch information
derekagorhom committed Nov 13, 2024
1 parent f9ae18b commit 76523ad
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 50 deletions.
114 changes: 67 additions & 47 deletions instat/frmMain.Designer.vb

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

7 changes: 4 additions & 3 deletions instat/frmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Public Class frmMain
mnuDataFrameMetadat.Checked = False
mnuSwapDataLogScript.Checked = False
mnuSwapDataMetadata.Checked = False
mnuTbDataView.Checked = True
mnuDataViewWindow.Checked = True
mnuOutputWindow.Checked = True
mnuLogScript.Checked = False
UpdateLayout()
Expand Down Expand Up @@ -364,7 +364,7 @@ Public Class frmMain
MsgBox(ex.Message)
End Try

mnuTbDataView.Checked = mnuViewDataView.Checked
mnuDataViewWindow.Checked = mnuViewDataView.Checked
mnuOutputWindow.Checked = mnuViewOutput.Checked
mnuLogScript.Checked = mnuViewLogScript.Checked
End Sub
Expand Down Expand Up @@ -1832,8 +1832,9 @@ Public Class frmMain
dlgInfill.ShowDialog()
End Sub

Private Sub mnuDataView_Click(sender As Object, e As EventArgs) Handles mnuTbDataView.Click
Private Sub mnuDataView_Click(sender As Object, e As EventArgs) Handles mnuTbDataView.ButtonClick, mnuDataViewWindow.Click
mnuViewDataView.Checked = Not mnuViewDataView.Checked
mnuDataViewWindow.Checked = mnuViewDataView.Checked
UpdateLayout()
End Sub

Expand Down

0 comments on commit 76523ad

Please sign in to comment.