Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 14th, 2006, 03:50 PM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default dynamic controls - referencing

hi

I have created a webbrowser with dynamic tabs and webbrowsers contained within each. A tab and webbrowser control are created for seperate searches.

What I am trying to do is reference dynamically created webbrowser controls at runtime. I can get the selectedindex value out for the tab thats been clicked (and am judging that I can then map that to the webbrowser control on the tab....), but simply cannot work out the code to then control the control!

My thinking is:

dim nt as integer

nt = tabcontrol1.selectedindex (gets the int value of the focussed tab)

webbrowser(nt).goback (so the focussed browser can be navigated by the user)

but obviously the above is wrong.

Any help?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic .NET Controls. rupen ASP.NET 1.0 and 1.1 Basics 3 February 21st, 2006 05:30 AM
Referencing Html Controls ~Bean~ ASP.NET 1.0 and 1.1 Basics 3 September 30th, 2005 09:11 AM
referencing controls in templates in form_view djpotte ASP.NET 2.0 Basics 3 May 25th, 2005 04:23 PM
Dynamic Controls tommyuk VB How-To 2 June 26th, 2003 12:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.