SpinBox: Hitting the ENTER or RETURN key triggers the Change event if needed.

[GB.GUI.BASE]
* NEW: SpinBox: Hitting the ENTER or RETURN key triggers the Change event if needed.
This commit is contained in:
gambas 2019-05-13 21:16:08 +02:00
parent 89df5d6abd
commit f65bd6ebfc
2 changed files with 8 additions and 1 deletions

View file

@ -256,7 +256,7 @@ Static Public Sub DrawRect(X As Float, Y As Float, Width As Float, Height As Flo
If Size = 0 Then Return
If Size < 0 Then
Size = - Size
Size = -Size
X -= Size
Y -= Size
Width += Size * 2

View file

@ -183,6 +183,13 @@ Public Sub TextBox_MouseWheel()
End
Public Sub TextBox_Activate()
CheckValue
End
Private Sub SetValue(iValue As Integer, Optional bFocus As Boolean)
Dim sValue As String