miércoles, 12 de noviembre de 2008

PRESTAMO DE UN BANCO POR UN AÑO

Private Sub Command1_Click()
Text3.Text = Val(Text1.Text) * Val(Text2.Text) * Val(12) / Val(100)
End Sub

Private Sub Command2_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text1.SetFocus
End Sub

Private Sub Command3_Click()
End
End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii <> 57 Then
KeyAscii = 0
End If
End Sub

Private Sub Text2_Change()
If Text2.Text <> " " Then
NUM2 = Val(Text2.Text)
End If
End Sub

Private Sub Text3_KeyPress(KeyAscii As Integer)
If KeyAscii <> 57 Then
KeyAscii = 0
End If
End Sub


No hay comentarios: