Text Changed, Form Visual Basic,,,


Kali ini, saya sedikit menyalurkan pembelajaran visual basic tentang “Text Changed”

Berikut salah satu contohnya,,

Public Class Textchanged

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
If TextBox1.Text <> “” Then
Label2.Text = TextBox1.Text
Else
Label2.Text = “”
End If
End Sub

Private Sub Textchanged_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub
End Class

Berikut tampilan jika program diatas dijalankan,,,

Posted on 31 Mei 2011, in Tugas Mata Kuliah. Bookmark the permalink. Tinggalkan komentar.

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 )

Gambar Twitter

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

Foto Facebook

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

Foto Google+

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

Connecting to %s

%d blogger menyukai ini: