ZennoLab Assemblies Documentation
Click Method (HtmlElement)
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : Click Method
The performs the click event on the html element.
Syntax
public void Click()
Remarks
This method performs the click event with default settings. For setting the event settings use the RiseEvent method.
Example
The following code example demonstrates uses of the Click method
// find element by attribute
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// click on the element
he.Click();
// find element by attribute
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// click on the element
$he->Click();
Requirements

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

See Also

Reference

HtmlElement Class
HtmlElement Members
RiseEvent Method
DragDrop Method
FindChildByAttribute Method
Document Class