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

Ensured position works correctly in Calculator dialog #8470

Merged
merged 4 commits into from
Aug 6, 2023
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
3 changes: 2 additions & 1 deletion instat/ucrInputComboBox.vb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Imports System.ComponentModel

Public Class ucrInputComboBox
Private _strRObjectItemsTypeLabel As String = ""
Public bKeyPress As Boolean = True
N-thony marked this conversation as resolved.
Show resolved Hide resolved

Public Sub New()

Expand Down Expand Up @@ -225,7 +226,7 @@ Public Class ucrInputComboBox
End Sub

Private Sub cboInput_KeyPress(sender As Object, e As KeyPressEventArgs) Handles cboInput.KeyPress
bUserTyped = True
bUserTyped = False
End Sub

'Public Sub SetEditable(bEditable As Boolean)
Expand Down
2 changes: 1 addition & 1 deletion instat/ucrInputTextBox.vb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Public Class ucrInputTextBox
End Sub

Private Sub txtInput_KeyPress(sender As Object, e As KeyPressEventArgs) Handles txtInput.KeyPress
bUserTyped = True
bUserTyped = False
End Sub

Private Sub txtInput_Validating(sender As Object, e As CancelEventArgs) Handles txtInput.Validating
Expand Down
2 changes: 1 addition & 1 deletion instat/ucrVariablename.vb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Public Class ucrVariableName
Public Event NameChanged()
'TODO this has a bug if using for setting default values in textbox if user does not use keyboard
Private Sub txtValidation_KeyPress(sender As Object, e As KeyPressEventArgs) Handles txtValidation.KeyPress
bUserTyped = True
bUserTyped = False
End Sub


Expand Down
Loading