Questions tagged [tchromium]

TChromium is a VCL control wrapping around the "Chromium" web browser.It is defined in the cefvcl.pas unit. It's included in the Delphi "Chromium Embedded project" by Henri Gourvest.

Websites:

128 questions
9
votes
2 answers

How to mute the sound of a Delphi Chromium Embedded (TChromium) component?

I need to mute the sound of a TChromium component to make a silent browser. The main problem is on Windows XP where when I mute the sound of a browser, it mute the overall system sound. Is there a way how to mute the sound of a TChromium component ?
9
votes
3 answers

How to get and set TChromium scrollbar positions?

How to get and set TChromium scrollbar positions in Delphi ?
8
votes
3 answers

Enumerating DOM nodes in TChromium

I am trying to enumerate DOM nodes using the following code (under XE2). I have borrowed most of this from answers given here in SO, but for some reason it's not doing anything. IOW, ProcessDOM() is not ever getting called. And, I am at my wits…
Adem
  • 255
  • 2
  • 9
8
votes
2 answers

Get HTML Source from Chromium Embedded

How to do this with Delphi Chromium Embedded Component i know how to do this with TWebBrowser. But since no docs are present for this I am sure someone else had same problem. Thanks
user1647411
7
votes
2 answers

How to disable view source option in Chromium Embedded?

Is it possible to disable view source option in Delphi Chromium Embedded ? I haven't found anything suitable in properties/methods list.
henry60
  • 443
  • 10
  • 23
6
votes
1 answer

Using TChromium, Delphi Chromium Embedded

This is a continuation of my last question. In that question I showed a problem involving TWebBrowser generating threads that persisted after the Browsers destruction. While noone could provide a solution to the problem, it was suggested that the…
user1242937
  • 181
  • 1
  • 2
  • 5
6
votes
2 answers

How do I get the result from executing JavaScript in an embedded Chromium control?

How can I execute JavaScript and get its result in DCEF3? I would appreciate if someone could write a simple example of how this can be done. I can execute JavaScript with the code below, but it doesn't provide the…
user1647411
6
votes
1 answer

Simulate click on DIV

I am developing a desktop application in Delphi XE4 using TChromium component to display Google Voice webpage. I need to start a call programmatically and I can't find a way to trigger the javascript code behind the button (it is a DIV)…
Miguel Febres
  • 1,849
  • 2
  • 18
  • 26
6
votes
0 answers

Delphi Chromium 3 - CefSingleProcess

Having very strange issue with Delphi Chromium 3: When running the vanilla demo app, (GuiClient), if I separately try to open a Microsoft Excel 2010 file (just double clicking on a file in Explorer,) it takes significantly longer than if the Chrome…
6
votes
3 answers

How to reliably know (programmatically), when a page is loaded in Chromium

I have a problem using the OnLoadEnd event of a TChromium (DCEF1). I have a form with a TButton and a TChromium. The OnClick event of the button calls a function which lists the forms of the loaded page. If I wait the page finish loading and then…
cadetill
  • 1,532
  • 15
  • 24
6
votes
2 answers

How do I clear the cache and cookies for an embedded Chromium browser?

I created a browser with TChromium. The TChromium is created dynamically. Facebook access (login) At the end of the process, the component is destroyed. The problem occurs when the component is created again He continues with the previous session…
5
votes
2 answers

How to attach context menu to TChromium browser

I have a TChromium broser from Delphi Chromium Embedded (http://code.google.com/p/delphichromiumembedded). I would like to attach a context menu to it. How I can achieve that?
Gad D Lord
  • 6,130
  • 10
  • 50
  • 98
5
votes
1 answer

How can I hide the scrollbars in TChromium

Its been a while now and I can't figure out how can I hide the scrollbars in TChromium. Is there a procedure/function or a property for it?
Ago
  • 657
  • 5
  • 19
5
votes
1 answer

Getting errors creating ChromiumOSR programmatically

I'm trying to create ChromiumOSR programmatically but I keep getting an error (access violation). Here is sample code that causes the problem: var pChromiumOSR: TChromiumOSR; begin pChromiumOSR := TChromiumOSR.Create(Self); …
5
votes
2 answers

Chromium: How to get all form of a loaded page

I try to get the name of all forms of the loaded page. I have done this: procedure TForm2.Button2Click(Sender: TObject); var L: TStringList; begin L := TStringList.Create; try Chromium1.Browser.MainFrame.VisitDomProc( procedure…
cadetill
  • 1,532
  • 15
  • 24
1
2 3
8 9