Tekxboxnya dibuat Array aja, caranya: copy textbox tsb (misalnya : text1),
nantinya namanya akan berupa text1(0), text1(1), text1(2),dst...
waktu mau kosongkan isi dari textboxnya buat aja prosedur sbb:
Public Sub kosongkan_text()
Dim i As Integer
For i = 0 To Text1.Count - 1
Text1(i).Text = ""
Next i
End Sub
Udin <[EMAIL PROTECTED]> wrote: Dengan hormat,
Saya coba buat program yang menggunakan banyak textbox, tetapi pada waktu
saya mau input data berikutnya saya harus hapus dulu data sebelumnya di
textbox, gimana secara code program supaya codenya singkat tetapi bisa hapus
isi semua textbox dan berapapun jumlah textbox yang ada di Form bisa
dikosongkan semua isisnya ?, mohon pencerahannya
Regards
Udin
Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]
Ikuti juga forum diskusi VB.net dengan
mengirim email kosong ke [EMAIL PROTECTED]
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "indoprog-vb" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo!
Messenger with Voice.
[Non-text portions of this message have been removed]
Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]
Ikuti juga forum diskusi VB.net dengan
mengirim email kosong ke [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indoprog-vb/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/