Delphi TWebBrowser - send click action

Cancelado Publicado Apr 13, 2012 Pagado a la entrega
Cancelado Pagado a la entrega

Hi,

I need a sample code in Delphi that can load an URL in a TWebBrowser component and click on the component even if the window is hidden.

**I don't want to use this**:

{Move the mouse}

Mouse_Event(MOUSEEVENTF_ABSOLUTE or MOUSEEVENTF_MOVE, Pt.x, Pt.y, 0, 0);

{Simulate the left mouse button down}

Mouse_Event(MOUSEEVENTF_ABSOLUTE or MOUSEEVENTF_LEFTDOWN, Pt.x, Pt.y, 0, 0);

{Simulate the left mouse button up}

Mouse_Event(MOUSEEVENTF_ABSOLUTE or MOUSEEVENTF_LEFTUP, Pt.x, Pt.y, 0, 0);

I want to use something like SendMessage() to send the click to the component at some (x,y) coordinates on the TWebBrowser component.

Thanks!

Delphi Windows Desktop

Nº del proyecto: #2731568

Sobre el proyecto

Proyecto remoto Activo Apr 13, 2012