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: 10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1    Statistic    FMM    Blog  


Queries maximum value for horizontal scrollbar.

Component Version macOS Windows Linux Server iOS SDK
Window 6.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Window.Scrollbar.getHorizontalMaximum"; WindowRef )   More


Parameter Description Example
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0


Returns value or error.


Queries maximum value for horizontal scrollbar.
Added Windows and iOS support for version 8.5.

Looks like the maximum on Windows is always 65535.


Qurery maximum value:

MBS( "Window.Scrollbar.getHorizontalMaximum"; 0 )

See also

Release notes

Example Databases

Blog Entries

Created 26th April 2016, last changed 13th November 2018

Window.Scrollbar.SetScrollElasticity - Window.Scrollbar.getHorizontalPosition

Feedback: Report problem or ask question.

MBS Xojo tutorial videos

Start Chat