richardlev
Programmer
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 = new TWebBrowser(pTabSheet);
pTabSheet->InsertControl(TabWebBrowser);
TWinControl(TabWebBrowser).Parent = pTabSheet;
TabWebBrowser->Align = alClient;
TabWebBrowser->Visible = true;
TabWebBrowser->Navigate("
//===========
As you can see I am using a TPageControl and TTabSheet to host the TWebBrowser controls created at runtime.
My problem is How I set OnDocumentComplete event handlers for the TWebBrowser's created dynamically.
Thanks in advanced.
Richard
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 = new TWebBrowser(pTabSheet);
pTabSheet->InsertControl(TabWebBrowser);
TWinControl(TabWebBrowser).Parent = pTabSheet;
TabWebBrowser->Align = alClient;
TabWebBrowser->Visible = true;
TabWebBrowser->Navigate("
//===========
As you can see I am using a TPageControl and TTabSheet to host the TWebBrowser controls created at runtime.
My problem is How I set OnDocumentComplete event handlers for the TWebBrowser's created dynamically.
Thanks in advanced.
Richard