Show a particular tab in the web browser

2 ビュー (過去 30 日間)
Daniel Dolan
Daniel Dolan 2018 年 4 月 15 日
Suppose that I have two tabs open in MATLAB's web browser.
[~,A]=web('google.com','-new');
[~,B]=web('bing.com','-new');
I can request focus on the active tab:
B.requestFocus(); % this works
B.grabFocus(); % this also works
but the request does not work for the inactive tab.
A.requestFocus(); % doesn't do anything
A.grabFocus(); % doesn't do anything
So how does one show a tab (other than the active one) in the web browser?

回答 (0 件)

カテゴリ

Help Center および File ExchangeWeb Apps についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by