ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
ScrollbarMaxPosition (Function)
In french: AscenseurPositionMax
Retrieves the maximum position of one of the horizontal or vertical scrollbars found in a control of a WINDEV application.
Example
// Goes to the last elements of the Table control
ScrollbarPosition(TABLE_MyTable, sbVert, ScrollbarMaxPosition(TABLE_MyTable))
Syntax
<Result> = ScrollbarMaxPosition(<Control used> [, <Orientation>])
<Result>: Integer
  • Maximum position of the scrollbar box (in logical units).
  • 0 if the scrollbar does not exist or if it is grayed.
<Control used>: Control name
Name of the control used.
<Orientation>: Optional Integer constant
Orientation of scrollbar for which the position must be retrieved:
sbHorzThe position is calculated for the horizontal scrollbar of control.
sbVert
(Default value)
The position is calculated for the vertical scrollbar of control.
Component: wd300obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help