TUGAS

TUGAS BAHASA PEMROGRAMAN VB PERTEMUAN KE 1

TUGAS 1

 

Private Sub CmdBatal_Click()
TxtNpm = “”
TxtNama = “”
TxtAlmat = “”
End Sub

Private Sub CmdKeluar_Click()
End
End Sub

Private Sub CmdLagi_Click()
TxtNpm.SetFocus
TxtNpm = “”
TxtNama = “”
TxtAlmat = “”
End Sub

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

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

 

 

ang1

 

Untitled 3

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 )

Connecting to %s