InjectBrowserMouseWheel: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client_function}}
{{Client_function}}
This function injects mouse scrolling.  
{{New feature/item|3.0150|1.5||
This function injects mouse wheel events.  
}}


==Syntax==
==Syntax==
Line 7: Line 9:
bool injectBrowserMouseWheel ( browser webBrowser, int verticalScroll, int horizontalScroll )
bool injectBrowserMouseWheel ( browser webBrowser, int verticalScroll, int horizontalScroll )
</syntaxhighlight>
</syntaxhighlight>
{{OOP||[[Element/Browser|browser]]:injectMouseWheel||injectBrowserMouseWheel}}


===Required arguments===
===Required arguments===

Revision as of 19:05, 7 February 2015

This function injects mouse wheel events.

Syntax

bool injectBrowserMouseWheel ( browser webBrowser, int verticalScroll, int horizontalScroll )

OOP Syntax Help! I don't understand this!

Method: browser:injectMouseWheel(...)
Counterpart: injectBrowserMouseWheel


Required arguments

  • webBrowser: The web browser
  • verticalScroll: Amount of units you want the browser to scroll along the Y-axe.
  • horizontalScroll: Amount of units you want the browser to scroll along the X-axe.

Returns

Returns true if the mouse action was successfully injected, false otherwise.

Example

Todo

See Also

Todo

See also