Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Text0_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
'Do something here
MsgBox "enter button"
End If
End Sub
Private Sub Text0_KeyDown(KeyCode As Integer, Shift As Integer)
MsgBox KeyCode
End Sub
Private Sub Text0_KeyPress(KeyAscii As Integer)
MsgBox KeyAscii
End Sub
Private Sub cmdSearch1_Click()
MsgBox "You pressed Command Search 1"
End Sub
[COLOR=green]'=============================================[/color]
Private Sub cmdSearch2_Click()
MsgBox "You pressed Command Search 2"
End Sub
[COLOR=green]'=============================================[/color]
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
Call cmdSearch1_Click
End If
End Sub
[COLOR=green]'=============================================[/color]
Private Sub Text2_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
Call cmdSearch2_Click
End If
End Sub
Private Sub Command1_Click()
Select Case Me.TabCtl0.Value
Case 0
MsgBox "You are at page1"
Case 1
MsgBox "You are at page2"
End Select
End Sub
[COLOR=green]'================================[/color]
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
[b]'DO SOMETHING HERE[/b]
Call Command1_Click
End If
End Sub
[COLOR=green]'================================[/color]
Private Sub Text2_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
[b]'DO SOMETHING HERE[/b]
Call Command1_Click
End If
End Sub