Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added checkmarks to four toolbar dropdown menu options ('Log Window', 'Script Window', 'Column Metadata' and 'Data Frame Metadata') #6210

Merged
merged 4 commits into from
Feb 22, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 45 additions & 45 deletions instat/frmMain.Designer.vb

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

9 changes: 3 additions & 6 deletions instat/frmMain.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2504,13 +2504,13 @@
<value>Column Metadata</value>
</data>
<data name="mnuLogWindow.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
<value>180, 22</value>
</data>
<data name="mnuLogWindow.Text" xml:space="preserve">
<value>Log Window...</value>
</data>
<data name="mnuScriptWindow.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
<value>180, 22</value>
</data>
<data name="mnuScriptWindow.Text" xml:space="preserve">
<value>Script Window...</value>
Expand Down Expand Up @@ -2650,7 +2650,7 @@
<value>34, 34</value>
</data>
<data name="mnuTbResetLayout.ToolTipText" xml:space="preserve">
<value>Reset Layout</value>
<value>Reset to Default Layout</value>
</data>
<data name="separator3.Size" type="System.Drawing.Size, System.Drawing">
<value>6, 37</value>
Expand Down Expand Up @@ -6447,9 +6447,6 @@
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
</value>
</data>
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>R-Instat</value>
</data>
Expand Down
14 changes: 14 additions & 0 deletions instat/frmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ Public Class frmMain
mnuViewDataFrameMetadata.Checked = False
mnuViewColumnMetadata.Checked = False
mnuViewScriptWindow.Checked = False
mnuLogWindow.Checked = False
mnuScriptWindow.Checked = False
mnuColumnMetadat.Checked = False
mnuDataFrameMetadat.Checked = False

mnuTbDataView.Checked = True
mnuTbOutput.Checked = True
Expand Down Expand Up @@ -459,21 +463,25 @@ Public Class frmMain

Private Sub mnuWindowVariable_Click(sender As Object, e As EventArgs) Handles mnuViewColumnMetadata.Click
mnuViewColumnMetadata.Checked = Not mnuViewColumnMetadata.Checked
mnuColumnMetadat.Checked = mnuViewColumnMetadata.Checked
UpdateLayout()
End Sub

Private Sub mnuWindowDataFrame_Click(sender As Object, e As EventArgs) Handles mnuViewDataFrameMetadata.Click
mnuViewDataFrameMetadata.Checked = Not mnuViewDataFrameMetadata.Checked
mnuDataFrameMetadat.Checked = mnuViewDataFrameMetadata.Checked
UpdateLayout()
End Sub

Private Sub LogToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles mnuViewLog.Click
mnuViewLog.Checked = Not mnuViewLog.Checked
mnuLogWindow.Checked = mnuViewLog.Checked
UpdateLayout()
End Sub

Private Sub ScriptToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles mnuViewScriptWindow.Click
mnuViewScriptWindow.Checked = Not mnuViewScriptWindow.Checked
mnuScriptWindow.Checked = mnuViewScriptWindow.Checked
UpdateLayout()
End Sub

Expand Down Expand Up @@ -2053,31 +2061,37 @@ Public Class frmMain

Private Sub MnuMetadata_ButtonClick(sender As Object, e As EventArgs) Handles mnuMetadata.ButtonClick
mnuViewColumnMetadata.Checked = Not mnuViewColumnMetadata.Checked
mnuColumnMetadat.Checked = mnuViewColumnMetadata.Checked
UpdateLayout()
End Sub

Private Sub MnuTbLog_ButtonClick(sender As Object, e As EventArgs) Handles mnuTbLog.ButtonClick
mnuViewLog.Checked = Not mnuViewLog.Checked
mnuLogWindow.Checked = mnuViewLog.Checked
UpdateLayout()
End Sub

Private Sub MnuColumnMetadat_Click(sender As Object, e As EventArgs) Handles mnuColumnMetadat.Click
mnuViewColumnMetadata.Checked = Not mnuViewColumnMetadata.Checked
mnuColumnMetadat.Checked = mnuViewColumnMetadata.Checked
UpdateLayout()
End Sub

Private Sub MnuDataFrameMetadat_Click(sender As Object, e As EventArgs) Handles mnuDataFrameMetadat.Click
mnuViewDataFrameMetadata.Checked = Not mnuViewDataFrameMetadata.Checked
mnuDataFrameMetadat.Checked = mnuViewDataFrameMetadata.Checked
UpdateLayout()
End Sub

Private Sub MnuScriptWindow_Click(sender As Object, e As EventArgs) Handles mnuScriptWindow.Click
mnuViewScriptWindow.Checked = Not mnuViewScriptWindow.Checked
mnuScriptWindow.Checked = mnuViewScriptWindow.Checked
UpdateLayout()
End Sub

Private Sub MnuLogWindow_Click(sender As Object, e As EventArgs) Handles mnuLogWindow.Click
mnuViewLog.Checked = Not mnuViewLog.Checked
mnuLogWindow.Checked = mnuViewLog.Checked
UpdateLayout()
End Sub

Expand Down