How to mouse drag objects into an HTML page?

Asked

Viewed 26 times

0

Hello! I use the delphi6 and twebbrowser component htmldocument2 and on the screen when placing an image I wish I could drag from one side to the other for easy localization. For what I have been researching on the internet it is necessary to change the positioning to absolute. This I have done with the following instructions:

Htmldocument := Webbrowser1.Document as Ihtmldocument2; Htmldocumento.queryCommandSupported('2D-Position'); htmldocumento.queryCommandSupported('AbsolutePosition');

It turns out that the obejcto on the screen does not leave the same place!!

Someone knows how to fix this?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.