Delphi TWebBrowser - send click action
$15-20 USD
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!
Nº del proyecto: #2731568