I tried this code:
TWebBrowser *p_browser;
p_browser = dynamic_cast<TWebBrowser *>(p_tabsheet->Controls[I]); // I is the control index of TWebBrowser in tabsheet.
But I could not make it work.
I still cant find the pointer to the TWebBrowser.
Richard
Luckieluc when you say :
"And when you have a pointer to TTabSheet you always know the pointer to a TWebBrowser."
Can you explain that in some code example please?
Richard
I will try to apply your suggestions tomorrow.
I did not have a clue that dealing with the TWebBrowser is such as pain in the butt.
I still have to deal with the javascript error popup messages,the ok key that sometime doesnt work on some webpages,etc etc.
Well one problem at the time.
Also...
Thanks for all your responses luckieluc.
Now I am facing another problem:
As you know in the app i create dinamically tabsheet and embed a TWebBrowser for each od these tabsheet.
When OnDocumentComplete events fire...(see code snippet):
void __fastcall...
I am having another problem .....maybe you can help me luckieluc.
After I created dinamically TWebBrowser and assign them to the tabsheets.
When I click on each tabsheet I can see each page have the respective webpage which I create with....But How I can get access to a specific TWebbroser to...
Hi Guys,
I am writing a multitab web browser using BCB TWbBrowser,
So far I can create TWebBrowser objects dinamically for each tabsheet ( see snippet below):
//===========
pTabSheet = new TLMDTabSheet(MainWindow->PageControl);
pTabSheet->PageControl = MainWindow->PageControl;
TabWebBrowser...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.