Getting/changing the ItemIndex of TWebListBox on DragOver

I am trying to implement a drag and drop to a TWebListBox control. In the OnDragOver or OnDragDrop event I would like to determine which item in the listbox the cursor is over so when the drop event occurs, I reference the desired item.

You can determine the option element the mouse is over and its index via:

procedure TForm1.WebListBox1DragOver(Sender, Source: TObject; X, Y: Integer;
  State: TDragState; var Accept: Boolean);
var
  el: TJSElement;
begin
  el := document.elementFromPoint(x, y);
  console.log(x,y,el, TJSHTMLOptionElement(el).index);
end;

Worked Great. Thanks.