You are on page 1of 2

Private Sub Command1Click()

Text4.Text Text2 * Text3


Text5.Text Text4 * 0.2
Text6.Text Text4 - Text5

End Sub
Private Sub Command2Click()
Text1.Text ""
Text2.Text ""
Text3.Text ""
Text4.Text ""
Text5.Text ""
Text6.Text ""
End Sub
Private Sub Command3Click()
End
End Sub
Private Sub Text1KeyPress(KeyAscii As Integer)
II KeyAscii 13 Then
II Text1.Text "" Then
MsgBox ("digite un nombre")
Text1.SetFocus
Else
Text2.SetFocus
End II
End II

End Sub
Private Sub Text2KeyPress(KeyAscii As Integer)
II KeyAscii 13 Then
II Text2.Text "" Then
MsgBox ("digite un numero")
Text2.SetFocus
Else
Text3.SetFocus
End II
End II
End Sub
Private Sub Text3KeyPress(KeyAscii As Integer)
II KeyAscii 13 Then
II Text3.Text "" Then
MsgBox ("digite un numero")
Text3.SetFocus
Else
Text3.SetFocus
End II
End II
End Sub