Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Scrolls to the given coordinates.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 5.0 Yes No No No No
MBS( "WebView.Scrollbar.set"; WebViewerRef; X; Y )   More


Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. "web"
X The new X position. 100
Y The new Y position. 100


Returns OK or error.


Scrolls to the given coordinates.
You can query the position using WebView.Scrollbar.getHorizontalPosition and WebView.Scrollbar.getVerticalPosition and than adjust if needed with this function to scroll to the right position in your web viewer.

Not supported for WebKit 2.x (FileMaker 16 Mac).

See also

Blog Entries

Release notes

Created 22nd December 2014, last changed 25th August 2017

WebView.Scrollbar.getVerticalPosition   -   WebView.SearchText

Feedback: Report problem or ask question.

MBS Xojo blog