-test da provare

This commit is contained in:
Demetrio Cassarino
2024-07-22 10:28:30 +02:00
parent 1eeea3c2e7
commit 93c80c98e6
12 changed files with 43 additions and 32 deletions
@@ -6,6 +6,8 @@ Public Class InputExpanderVM
#Region "FIELDS & PROPERTIES"
Friend Event m_FocusOnTextBox()
' Expander fields
Private m_IsExpanded As Boolean
Public Property IsExpanded As Boolean
@@ -273,6 +275,10 @@ Public Class InputExpanderVM
#Region "METHODS"
Friend Sub FocusText()
RaiseEvent m_FocusOnTextBox()
End Sub
Friend Sub PrepareInputBox(PrepareInputBoxParam As PrepareInputBoxParam)
Title = PrepareInputBoxParam.sTitle
If PrepareInputBoxParam.sLabel <> "" Then
@@ -294,6 +300,7 @@ Public Class InputExpanderVM
IsEnabled = True
IsExpanded = True
FocusTextBox = True
FocusText()
End Sub
Friend Sub ResetInputBox()
@@ -309,6 +316,7 @@ Public Class InputExpanderVM
Friend Function SetInputBoxText(ByVal sVal As String) As Boolean
TextBox = sVal
FocusTextBox = True
FocusText()
Return True
End Function