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.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

WebView.Scrollbar.set

Scrolls to the given coordinates.

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

Parameters

Parameter Description Example
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

Result

Returns OK or error.

Description

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

See also

Blog Entries

Release notes

Created 22nd December 2014, last changed 12nd June 2020


WebView.Scrollbar.getVerticalPosition   -   WebView.SearchText

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat