Click() FunctionSimulates a click or a ENTER on the specified control. Syntax:Click(id) Click(id1,id2,...) (requires v2.4.5 and higher) Parameters: id - Control Identifier Remarks:
Example: In this example, typing a filename inside the combo box control and pressing enter, causes a simulated mouse click to be sent to the openurl control. In response to the click, the button opens the specified URL http://www.toolbarbrowser.com/%FILENAME%" where %FILENAME% is replaced by the value of the filename control. <xml id="toolbar"> <toolbar caption="Click() Example"> <control type="combo" id=filename width="140" action="Click(openurl)"></control> <control type="toolbar"> <button id=openurl caption="URL" action="http://www.toolbarbrowser.com/%FILENAME%"></button> </control> </toolbar> </xml> Compatibility From version 2.4.5 onwards, multiple controls can be specified as a comma separated list. See Also: |