Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27156

[RESOLVED] iterating through tabcontrol

$
0
0
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

Viewing all articles
Browse latest Browse all 27156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>