aldi... right?
semua control di form yang kita buat, merupakan bagian dari sebuah
object collection yang bernama controls, nah kalo kita mau nambah
control, ya kita tinggal tambahkan saja object control baru ke koleksi
ini.
mis:
Dim ctl As Control
Set ctl = Form1.Controls.Add("VB.TextBox", "Text1", Form1) 'form1
adalah nama form
ctl.Visible = True
ctl.Text = "Contoh"
.... ' dan semua properti lainya
regards,
On 5/23/05, aldi1701d <[EMAIL PROTECTED]> wrote:
> nanya dong..ada yg bisa bikin objek (misalnya textbox) pada saat
> runtime ga ..? kodingnya gmn yach....
>
>
> thanx
>
Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmer-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/