title: chromium embedded framework
body: <p>How to make real open new tabs in the same form, using tabs or simply the same cef component or create new one, not that is the important part.
  The important thing is what the usage of </p>
  
  <pre><code>procedure OnBeforePopup ...
    ...
    begin
    Return:= true;
    TChromium1.LoadURL(target_url);
  end; 
  </code></pre>
  
  <p>not work in some cases like in real browser (and I think this is not real dispatch to the new tab).</p>
  
  <p>In TWebBrowser I don't have such problem, that code work well:</p>
  
  <pre><code>  procedure TForm1.WebBrowser1NewWindow2(Sender: TObject;
    var ppDisp: IDispatch; var Cancel: WordBool);
    var NewWindow: TForm1;
    begin
      NewWindow := TForm1.Create(self);
      NewWindow.Show;
     ppDisp := NewWindow.Webbrowser1.DefaultDispatch;
    end;
  </code></pre>
  
  <p><strong>How to make real dispatch?</strong></p>
  
  <p>In OnBeforePopup exists const <code>target_disposition</code> .
  <strong>How to change it(<code>target_disposition</code>) to <code>current tab</code>?</strong></p>