Download | Klik yang ini
Private Sub cjenis_Click()
Select Case tmerk.Text
Case "revo":
Select Case cjenis.Text
Case "Ringan": tbiaya.Text = 25000
Case "Sedang": tbiaya.Text = 50000
Case "Berat": tbiaya.Text = 90000
End Select
Case "Beat":
Select Case cjenis.Text
Case "Ringan": tbiaya.Text = 30000
Case "Sedang": tbiaya.Text = 60000
Case "Berat": tbiaya.Text = 105000
End Select
Case Else:
Select Case cjenis.Text
Case "Ringan": tbiaya.Text = 35000
Case "Sedang": tbiaya.Text = 75000
Case "Berat": tbiaya.Text = 120000
End Select
End Select
End Sub
Private Sub ckode_Click()
Select Case Left(ckode.Text, 2)
Case "RE", "re", "rE", "Re": tmerk.Text = "Revo"
Case "BE", "be", "bE", "Be": tmerk.Text = "Beat"
Case Else: tmerk.Text = "Supra"
End Select
End Sub
Private Sub Option1_Click()
tdis.Text = 0.1 * Val(tbiaya.Text)
ttotal.Text = Val(tdis.Text) + Val(tbiaya.Text)
tbayar.SetFocus
End Sub
Private Sub Option2_Click()
tdis.Text = 0
ttotal.Text = Val(tdis.Text) + Val(tbiaya.Text)
tbayar.SetFocus
End Sub
Private Sub tbayar_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
tkembali.Text = Val(tbayar.Text) - Val(ttotal.Text)
End If
End Sub
Private Sub tno_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Left(tno.Text, 1) = "B" Then
tkota.Text = "Jakarta"
Else
tkota.Text = "Bogor"
End If
ckode.SetFocus
End If
End Sub
harie666rawk | On: 28 April 2010 pukul 23.23
thx k' bwat listing ny. ga smpet nyatet pas d lab. hehe
SIAP BWAT UTS VB!! :D
nb: blog ny brat d bukany. klu bsa d peringan lg. tnx
Ilham Maulana | On: 29 April 2010 pukul 04.57
ok sama - sama har ...
Anonymous | On: 29 April 2010 pukul 19.28
themes nya udah diganti pake themes google
Ilham Maulana | On: 2 Mei 2010 pukul 06.06
:))