- Home
·
- Miscellaneous
·
- When you type in the textbox nothing appears but when you click the comments button the typed thing
When you type in the textbox nothing appears but when you click the comments button the typed thing
When you type in the textbox nothing appears but when you click the comments button the typed things will appear in the message box
API Declarations
Dim B As Integer
' add 2 textboxes of same size in a way that the user can see
only 1 i.e. one textbox will on other'
' write in properties of text2 textbox in the text properties "|"
' add 1 command button
Rate When you type in the textbox nothing appears but when you click the comments button the typed thing
(1(1 Vote))
MsgBox Text1.Text, vbSystemModal
Text1.SetFocus
End Sub
Private Sub Text1_Change()
Call textchng
End Sub
Public Sub textchng()
Text2.Text = " " + Text2.Text
LEN1 = Len(Text1.Text)
LEN2 = Len(Text2.Text)
If LEN1 < LEN2 Then
Text2.Text = ""
LEN2 = 0
Do While LEN2 < LEN1
Text2.Text = " " + Text2.Text
LEN2 = LEN2 + 1
Loop
Text2.Text = Text2.Text + "|"
Exit Sub
End If
'If Text2.Width = 3255 Then
' b = Text2.Width
' Text2.Width = b + 200
'End If
End Sub
When you type in the textbox nothing appears but when you click the comments button the typed thing Comments
No comments yet — be the first to post one!
Post a Comment