Posting 5

Gambar

Private Sub Txt1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Txt2.SetFocus
Txt2.Text = Val(Txt1.Text) * 0.1
End If
End Sub

Private Sub Txt2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Txt3.SetFocus
Txt3.Text = Val(Txt1.Text) – Val(Txt2.Text)
End If
End Sub

Private Sub CmdHitung_Click()
Txt2.Text = Val(Txt1.Text) * 0.1
Txt3.Text = Val(Txt1.Text) – Val(Txt2.Text)
End Sub

Private Sub CmdUlangi_Click()
Txt1.SetFocus
Txt1 = “”
Txt2 = “”
Txt3 = “”
End Sub

Private Sub CmdQuit_Click()
End
End Sub

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s