Date parsed: 31/03/2008 03:20:10
Date: Mon, 31 Mar 2008 03:20:10 GMT
Hi Douglas,
Thank you for your reply!
> Odd, I wsn't notified you had posted.
Please make sure you have followed the instructions in the following
document to get notified when your post has a reply in the newsgroup:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
> I just don't know how to update the checkbox in the collection. is there
a better way to just index into the collection used an
...Item("myCheckBoxName") or something?
You can use the index or name of the control to get it from the collection.
For example:
Dim pl As New Panel
Dim txtbox As New TextBox
txtbox.Name = "mytextbox"
txtbox.Text = "this is my textbox"
pl.Controls.Add(txtbox)
'use the index of the control to get it from the collection
Dim ctrl As TextBox = CType(pl.Controls(0), TextBox)
'or use the name of the control
'Dim ctrl As TextBox = CType(pl.Controls("mytextbox"), TextBox)
Hope this helps.
If you have any question, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.