Belajar Input Teks


Belajar Input Teks di List

Private Sub cmdHapus_Click()
LstList.RemoveItem (LstList.ListIndex) ‘ membuat suatu list Item

End Sub

Private Sub cmdHapusSemua_Click() ‘hapus semua item di list
LstList.Clear

End Sub

Private Sub cmdInput_Click()
LstList.AddItem txtInput.Text  ‘tombol penambahan list

txtInput.Text = “” ‘ masukkan nama list yg ingin ditambahkan

End Sub

Private Sub cmdKeluar_Click() ‘ keluar program
End
End Sub

source:http://programmervb.blog.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s