this topic has been broached in 2010 but somehow the code does not seem to work and is not recognized by vb.
the problem is this
I have a form and on this form I place a tabcontrol with 2 tabpages. each tabpage has several texboxes
when the form loads I want to scan through the tabpages on the form and put the appropriate text into the boxes.
I do this in another application passing the form to it
in this appl I scan through the controls on the form as
For Each ctrl In form.Controls
If TypeOf ctrl Is TabControl Then
**********I need to scan through the tab pages and for every tabpage write or read from its textboxes*****
*******nothing I put here seems to be acceptable to vb*****
endif
next ctrl
thanks
follys
the problem is this
I have a form and on this form I place a tabcontrol with 2 tabpages. each tabpage has several texboxes
when the form loads I want to scan through the tabpages on the form and put the appropriate text into the boxes.
I do this in another application passing the form to it
in this appl I scan through the controls on the form as
For Each ctrl In form.Controls
If TypeOf ctrl Is TabControl Then
**********I need to scan through the tab pages and for every tabpage write or read from its textboxes*****
*******nothing I put here seems to be acceptable to vb*****
endif
next ctrl
thanks
follys