Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

WebView.SearchText

Component: WebView
Version: 2.3
Mac OS X: Works
Windows: Works

MBS( "WebView.SearchText"; WebViewerRef; Text; Backward; CaseSensitive; Wrap )

Parameters

Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. "web"
Text The text to search for. "Hello"
Backward Optional, A boolean value to determinate direction. Pass 0 for forward and 1 for backward. Default is 0. (This option has problems on Windows currently.) 0
CaseSensitive Optional, whether to search case sensitive. Pass 1 for case sensitive and 0 for case insensitive. Default is 0. 0
Wrap Optional, A boolean value to decide whether to wrap around. If text is not found, we start search on the top again. 0

Result

Returns 1 if the text was found and 0 if not.

Description

Searches text in a webviewer.
This is like the search field in Safari. Please note that this feature works fine in Filemaker 10, but has problems in Filemaker 11.

Examples

MBS("WebView.SearchText"; "web"; "Hello")

Feedback: Report problem or ask question.




Links
MBS Real Studio PDF Plugins - Pfarrgemeinde St. Arnulf Nickenich