PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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
// Displays the end of the table
ScrollbarPosition(TABLE_MyTable, sbVert, ScrollbarMaxPosition(TABLE_MyTable))
Syntax
<Result> = ScrollbarMaxPosition(<Control Name> [, <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 Name>: Character string (with or without quotes)
Name of the control used.
<Orientation>: Optional Integer constant
Orientation of the scrollbar for which the position must be retrieved:
sbHorzThe position is calculated for the horizontal scrollbar of the control.
sbVert
(Default value)
The position is calculated for the vertical scrollbar of the control.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment