Private Sub cmdkeluar_Click()
Unload Me
End Sub
Private Sub cmdproses_Click()
textgajikotor = Val(textgajipokok) + Val(texttunjangan) - Val(textpotongan)
textpajak = Val(textgajikotor) * 0.1
textgajiditerima = Val(textgajikotor) - Val(textpajak)
End Sub
Private Sub cmdulang_Click()
textgajipokok = ""
texttunjangan = ""
textpotongan = ""
textgajikotor = ""
textpajak = ""
textgajiditerima = ""
End Sub
Private Sub textpotongan_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
textgajikotor = Val(textgajipokok) + Val(texttunjangan) - Val(textpotongan)
textpajak = Val(textgajikotor) * 0.1
textgajiditerima = Val(textgajikotor) - Val(textpajak)
End If
End Sub
Private Sub texttunjangan_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
textpotongan.SetFocus
End If
End Sub
Halaman
Langganan:
Posting Komentar (Atom)
Tugas 3_7
Private Sub cmdbatal_Click() textnama = "" textnik = "" textgolongan = "" textkode = "" texts...
-
Private Sub cmdbatal_Click() textnama = "" textnik = "" textgolongan = "" textkode = "" texts...
-
Private Sub cmdbatal_Click() textcode = "" textjudul = "" textpengarang = "" textterbit = "" ...
-
Private Sub cmdbatal_Click() textnama = "" textnpm = "" textjurusan = "" textps = "" textmasuk ...
Tidak ada komentar:
Posting Komentar