|
-
Jun 28th, 2002, 12:34 AM
#1
Thread Starter
New Member
control arrays 3
i really tried the following code :
Dim tbNew as New TextBox1
tbNew.Text = "Copy of TextBox1"
tbNew.Location = New System.Drawing.Point(12, 12)
Me.Controls.Add(tbNew)
but when i write dim tbnew as new ........ (i dont get textbox1 in the popup menu)
so it isnt working. if there is anything specific in addition to the above code please say it. thanx anyway.
-
Jun 28th, 2002, 12:45 AM
#2
how about this:
Dim tbNew As TextBox = TextBox1
I think it does what you want
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|