Selasa, 21 November 2017
APLIKASI PERHITUNGAN GAJI TANPA KEYPREES
Private Sub CmdKeluar_Click()
Unload Me
End Sub
Private Sub Cmdproses_Click()
txtgk = Val(txtgp) + Val(txttj) - Val(txtpt)
txtpj = Val(txtgk) * 0.1
txtgd = Val(txtgk) - Val(txtpj)
End Sub
Private Sub CmdUlang_Click()
txtgp = ""
txttj = ""
txtpt = ""
txtgk = ""
txtpj = ""
txtgd = ""
txtgp.SetFocus
End Sub
Private Sub txtgp_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
txttj.SetFocus
End If
End Sub
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar