title: Error message "WebBrowser not assigned" on a double click
body: <p>I am using Delphi XE4 with a Google Maps library. I created a sample application which the customers address on dbgrid.</p>
  
  <p>On the dbgrid event I did:</p>
  
  <pre><code>procedure TForm1.DBGrid1DblClick(Sender: TObject);
  var
      endereco : string;
      pesquisarendereco : string;
  
  begin
  
      WebBrowser1.Enabled := True;
      GMMap1.Active := True;
  
      if dsClienteEndereco.DataSet.RecordCount &gt; 0 then
      begin
          GMGeoCode1.Geocode(qryClienteEndereco.FieldByName('ENDERECORESIDENCIA').AsString);
          endereco := qryClienteEnderecoENDERECORESIDENCIA.Value;
  
          GMMarker1.Items[dsClienteEndereco.DataSet.Recno].CenterMapToMarker;
  
          pesquisarendereco := 'http://maps.google.com/maps?q=' + endereco;
          WebBrowser1.Navigate(pesquisarendereco);
      end;
  end;
  </code></pre>
  
  <p>But when I do a double click it shows me the message:</p>
  
  <blockquote>
    <p>webbrowser not assigned.</p>
  </blockquote>
  
  <p>How can I solve this?</p>