Print Page | Close Window

TabControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=18009
Printed Date: 27 November 2024 at 4:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabControl
Posted By: ProScan
Subject: TabControl
Date Posted: 07 March 2011 at 8:16am
i have a tabcontrol with four pages.

we can enumate the controls of the selected Tabpage ?

i don't found information in the samples.
my ide is vb6.0

thanks for help...

greetings
Proscan






Replies:
Posted By: gibra
Date Posted: 07 March 2011 at 9:57am
Try this:
 
Dim ctl as Control
For Each ctl in Me.Controls
    If ctl.Container.Name = "TabControlPage1" Then
        Debug.Print ctl.Name
    End If
Next
 
Wink


-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8


Posted By: ProScan
Date Posted: 07 March 2011 at 10:19am
hello gibra !
wonderful, now it works great

thank you for help !

ProScan



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net