TUGAS

TUGAS BAHASA PEMROGRAMAN VB PERTEMUAN KE 1

TUGAS 2

 

Private Sub CmdBatal_Click()
TxtNpm = “”
TxtNama = “”
TxtAlamat = “”
TxtPs = “”
TxtJr = “”
TxtAgama = “”
End Sub

Private Sub CmdKeluar_Click()
End
End Sub

Private Sub CmdLagi_Click()
TxtNpm.SetFocus
TxtNpm = “”
TxtNama = “”
TxtAlamat = “”
TxtPs = “”
TxtJr = “”
TxtAgama = “”
End Sub

Private Sub TxtAlamat_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
TxtPs.SetFocus
End If
End Sub

Private Sub TxtJr_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
TxtAgama.SetFocus
End If
End Sub

Private Sub TxtNama_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
TxtAlamat.SetFocus
End If
End Sub

Private Sub TxtNpm_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
TxtNama.SetFocus
End If
End Sub

Private Sub TxtPs_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
TxtJr.SetFocus
End If
End Sub

 

ang2

 

AN2

 

 

 

 

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google+

You are commenting using your Google+ account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

w

Connecting to %s