Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  


Scrolls to the given coordinates.

Component: Webview
Version: 5.0
Mac OS X: Yes
Windows: No
Server: No
FileMaker Cloud: No

MBS( "Webview.Scrollbar.set"; WebViewerRef; X; Y )


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

Webview.Scrollbar.getVerticalPosition   -   Webview.SelectedText

Feedback: Report problem or ask question.

MBS Real Studio Plugins - Nachhilfe in Kell