Setting focus to the correct Browser tab
Posted: Fri Jul 22, 2011 9:36 pm
I've got a browser window stored as a Form object. It has multiple tabs with different web pages, each stored as a Web Document object (DOM).
I want to click something on one of the tabs, but another tab has focus and is the one being displayed on top.
How do I make the Web Document I want to work with the active one? I've tried EnsureVisible, Focus, etc... and it never comes to the front. Is there something like an Activate command for a DOM object to automatically bring it to the front? Do I need to write code to walk through the Form object and click the tab that I want?
Thanks,
Aracknid
I want to click something on one of the tabs, but another tab has focus and is the one being displayed on top.
How do I make the Web Document I want to work with the active one? I've tried EnsureVisible, Focus, etc... and it never comes to the front. Is there something like an Activate command for a DOM object to automatically bring it to the front? Do I need to write code to walk through the Form object and click the tab that I want?
Thanks,
Aracknid