Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

How to retrieve rect values from the domvisitor?

Post Reply
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to retrieve rect values from the domvisitor?

Post by salvadordf »

Hi,

You can add several integer arguments :

Code: Select all

Msg.ArgumentList.SetInt(0, Rect.Left);
Msg.ArgumentList.SetInt(1, Rect.Top);
Msg.ArgumentList.SetInt(2, Rect.Right);
Msg.ArgumentList.SetInt(3, Rect.Bottom);
Open uCEFInterfaces.pas and take a look at the ICefListValue declaration to see all the "Set..." procedures.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to retrieve rect values from the domvisitor?

Post by salvadordf »

Create a new "List" for each loop.

Code: Select all

List := TCefListValueRef.New;
Post Reply