Home All Groups Group Topic Archive Search About

Tabs and accessing child controls

Author
18 Feb 2006 9:44 AM
lazlo
hi

can anyone tell me how to do this:

if you have 7 dynamically-created tabs, and within each you have a
dynamically created webbrowser control, how do you make back, forward etc
events work with ONLY the selected tab and webbrowser? Childindex features
somewhere I am sure, but any help gratefully received.

The 7 is misleading - it could be 9, all depending on how many queries are
run so this number varies.

gray

Author
18 Feb 2006 12:00 PM
Ken Tucker [MVP]
Hi,

    Try finding the webbrowser control on the tabcontrol1.selectedtab and
calling its methods.

Ken
---------------------
Show quoteHide quote
"lazlo" <jacque***@hotmail.com> wrote in message
news:dt6qaq$hvk$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
> hi
>
> can anyone tell me how to do this:
>
> if you have 7 dynamically-created tabs, and within each you have a
> dynamically created webbrowser control, how do you make back, forward etc
> events work with ONLY the selected tab and webbrowser? Childindex features
> somewhere I am sure, but any help gratefully received.
>
> The 7 is misleading - it could be 9, all depending on how many queries are
> run so this number varies.
>
> gray
>
>