Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Searches text in a webviewer.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 2.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
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 | 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 | Optional |
CaseSensitive | Whether to search case sensitive. Pass 1 for case sensitive and 0 for case insensitive. Default is 0. | 0 | Optional |
Wrap | A boolean value to decide whether to wrap around. If text is not found, we start search on the top again. | 0 | Optional |
Returns 1 if the text was found and 0 if not.
For Windows this function is only supported in FileMaker Pro when using Internet Explorer as engine behind the Web Viewer, but not when Microsoft Edge/Chrome engine is used.
Searches for text in webviewer:
MBS("WebView.SearchText"; "web"; "Hello")
Created 18th August 2014, last changed 8th October 2017
WebView.Scrollbar.set - WebView.SelectAll
Feedback: Report problem or ask question.