FRentie wrote:Hi.
What kind of control does eValid have over the mouse?
Can you provide me with a detailed explanation?
Thanks in advance
Glad to help you out FRentie.
There are many eValid commands that involve mouse position, but you have to remember, that the location of the mouse relative to the DOM element involved is the critical thing.
That's the way mouse actions are interpreted in the browser.
(Separately, in application mode eValid can move the mouse around on the desktop, but that is a different technology.)
Here are some of the relevant commands:
ElementMouseDown
ElementMouseUp
ElementMouseOver
ElementMouseOut
In each case the arguments always involve specifying:
wid -- the window ID
idx -- the element index in the DOM tree
x,y -- offsets in pixels within the element
frame-path -- to overcome ambiguity in regard to frames which could be within other frames [NAV] -- and optional tag that, if present, signals that page navigation is to happen as a result of the event (otherwise such navigation is blocked).
Hope this is helpful.
-- eValid Support