ZennoLab Assemblies Documentation
FullEmulationMouseMoveAboveHtmlElement Method
Example 
ZennoLab.CommandCenter Namespace > Tab Class : FullEmulationMouseMoveAboveHtmlElement Method

Type: Zennolab.CommandCenter.HtmlElement

The HTMLElement for move mouse.

Type: System.Int32

The size of type.

Performs the mouse move event above specified element.
Syntax
public void FullEmulationMouseMoveAboveHtmlElement( 
   HtmlElement he,
   int sizeOfType
)

Parameters

he

Type: Zennolab.CommandCenter.HtmlElement

The HTMLElement for move mouse.

sizeOfType

Type: System.Int32

The size of type.

Example
The following code example demonstrates uses of the FullEmulationMouseMoveAboveHtmlElement method.
HtmlElement he = instance.ActiveTab.GetDocumentByAddress("0").FindElementByAttribute("div", "class", "main", "regexp", 0);
if (he.IsVoid) return -1;
instance.ActiveTab.FullEmulationMouseMoveAboveHtmlElement(he, 40);
$he = $instance->ActiveTab->GetDocumentByAddress("0")->FindElementByAttribute("div", "class", "main", "regexp", 0);
if (!he->IsVoid) 
  $instance->ActiveTab->FullEmulationMouseMoveAboveHtmlElement(he, 40);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Tab Class
Tab Members
Set mouse full emulation options method
Configure border for scrolling
Mouse move to coordinates method
Mouse move to element method
Performs the mouse wheel event
Mouse click event method
Mouse drag and drop event for specified coordinates
Mouse drag and drop event for specified elements
Current mouse position