onFindAgainCommand

onFindAgainCommand( findPrevious )
Return type: no return value
Call this method to handle your application's "find next" and "find previous" commands.  You should specify true as the input parameter to perform a "find previous" operation, or false to perform a "find next."

Example

Typically, you'll simply bind this method to your "find next" and "find previous" commands, like this:

<command name="cmd_find_previous" oncommand="gFindBar.onFindAgainCommand(true);"/>
<command name="cmd_find_next" oncommand="gFindBar.onFindAgainCommand(false);"/>

Document Tags and Contributors

Contributors to this page: pippijn, Sheppy, fqueze
Last updated by: Sheppy,