RaistlinMajere
New member
- Joined
- Mar 4, 2008
- Messages
- 3
- Programming Experience
- 3-5
Hello,
I looked all over Microsoft and Google and cannot find the answer to this.
My problem is that i have a form created at Runtime that adds checkbox controls to the form programatically depending upon how many are needed.
Now, I have a button on that form that when clicked, it should pull whatever info is located for each of the checkbox.tag properties that are checked.
Problem is, how do i check to see if 1 of the checkbox controls are checked when i click the Button when the checkbox controls aren't created within the code of that button before runtime??
I can't compile saying
IF (Chkbox1.checked=TRUE)
because Chkbox1, 2, 3, 20 aren't created yet.
Thanks for any info on this one.
I looked all over Microsoft and Google and cannot find the answer to this.
My problem is that i have a form created at Runtime that adds checkbox controls to the form programatically depending upon how many are needed.
Now, I have a button on that form that when clicked, it should pull whatever info is located for each of the checkbox.tag properties that are checked.
Problem is, how do i check to see if 1 of the checkbox controls are checked when i click the Button when the checkbox controls aren't created within the code of that button before runtime??
I can't compile saying
IF (Chkbox1.checked=TRUE)
because Chkbox1, 2, 3, 20 aren't created yet.
Thanks for any info on this one.