Rabu, 22 November 2017

TUGAS 2 PROGRAM 2 BP1


Private Sub txtharga_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Txthak.SetFocus
txtdiskon = Val(txtharga) * 0.15
Txthak = Val(txtharga) - Val(txtdiskon)
End If
End Sub

Private Sub cmdQuit_Click()
End
End Sub

Private Sub cmdUlangi_Click()
txtharga = ""
txtdiskon = ""
Txthak = ""
txtharga.SetFocus

End Sub

Related Posts:

  • TUGAS 2 PROGRAM 6 BP1 Private Sub Cmdoke_Click() lbltext1.Caption = txtnnm.Text End Sub Private Sub Cmdexit_Click() End End Sub Private Sub Optbiru_Click() lbltext1.ForeColor = vbBlue End Sub Private Sub Optred_Click() lblte… Read More
  • TUGAS 2 PROGRAM 5 BP1 Private Sub Cmdext_Click() End End Sub Private Sub Optred_Click() Lbltxt.ForeColor = vbRed End Sub Private Sub Optbiru_Click() Lbltxt.ForeColor = vbBlue End Sub Private Sub Opthijau_Click() Lbltxt.Fore… Read More
  • TUGAS 2 PROGRAM 3 BP1 Private Sub cmdkeluar_Click() End End Sub Private Sub cmdproses_Click() txtgajik = Val(txtgajip) + Val(txttn) - Val(txtpotongan) txtpajak = Val(txtgajik) * 0.05 txtgajid = Val(txtgajik) - Val(txtpajak) End Sub … Read More
  • TUGAS 2 PROGRAM 4 BP1 Private Sub cmdkeluar_Click() End End Sub Private Sub cmdproses_Click() txtgajik = Val(txtgajip) + Val(txttn) - Val(txtpotongan) txtpajak = Val(txtgajik) * 0.05 txtgajid = Val(txtgajik) - Val(txtpajak) End Sub… Read More
  • TUGAS 2 PROGRAM 2 BP1 Private Sub txtharga_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Txthak.SetFocus txtdiskon = Val(txtharga) * 0.15 Txthak = Val(txtharga) - Val(txtdiskon) End If End Sub Private Sub cmdQuit_Click() End … Read More

0 komentar:

Posting Komentar