Tugas 2.2
Perhitungan Mutu Menggunakan Keypress
Source Code :
Private Sub cmdHitung_Click()
Dim A, B, C As Double
txtB.Text = Val(txtA.Text) * 0.1
txtC.Text = Val(txtA.Text) - Val(txtB.Text)
End Sub
Private Sub cmdQuit_Click()
End
End Sub
Private Sub cmdUlang_Click()
txtA = ""
txtB = ""
txtC = ""
End Sub
Private Sub txtB_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Dim A, B, C As Double
txtB.Text = Val(txtA.Text) * 0.1
txtC.Text = Val(txtA.Text) - Val(txtB.Text)
End If
End Sub
Selasa, 21 November 2017
Langganan:
Posting Komentar (Atom)
Tugas Etika Profesi
1. Pinjaman online adalah fasilitas pinjaman uang oleh penyedia jasa keuangan yang beroperasi secara online. Penyedia pinjaman online terse...
-
Tugas 2.5 Membuat Font Color dan Font Style Source Code : Private Sub chkBold_Click() If chkBold.Value = 1 Then lblTeks.FontBold...
-
TUGAS 3.5 Source Code: Private Sub cmdkeluar_Click() End End Sub Private Sub cmdlagi_Click() txtkt = "" txtht = ...
-
TUGAS 3.2 Source Code: Private Sub cmdbatal_Click() txtnama = "" txtnpm = "" txtjurusan = "" t...
Tidak ada komentar:
Posting Komentar