Documentation de Gambas - /comp/gb.qt4.webkit/webview/findtext

/comp/gb.qt4.webkit/webview/findtext

# WebView.FindText (gb.qt4.webkit)

Function FindText ( [ Text As String, Backward As Boolean, CaseSensitive As Boolean, Wrap As Boolean ] ) As Boolean

Search for some text inside the HTML page.

- Text is the text to search for.

- Backward is TRUE if the search is done backward. By default, a forward search is done.

- CaseSensitive is TRUE if the search is case sensitive. By default, the search is not case sensitive.

- Wrap is TRUE if wrapping is allowed. By default, the search stops if the entire page has been searched.

This function returns TRUE if the search has failed, and FALSE if it has succeeded.

The found text is automatically selected.