Error getting tags :
error 404Error getting tags :
error 404 vScroll | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
vScroll
Basics
Expander triangle
Type
Property
Syntax
set the vScroll of {field | group} to pixels get the scroll of stack
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies the vertical scroll of a field, group, or stack.
Examples

set the vScroll of group "Thumbnails" to 20

Additional Comments
Expander triangle

Use the vScroll property to scroll a field or group, or to check how far it's been scrolled.

Value:

The vScroll of a field, group, or stack is a non-negative integer.

By default, the vScroll property of newly created objects is set to zero.

For stacks, the vScroll property is read-only and cannot be set.

Comments:

The vScroll is the amount in pixels the object has been scrolled down. If the vScroll is zero, the object has not been scrolled.

Setting the vScroll of a field or group causes a scrollbarDrag message to be sent to the field or group.

Cross-platform note: On Mac OS and OS X systems, the menu bar appears at the top of the screen, rather than inside the stack window. If a stack'seditMenusproperty is set to false and the stack contains a menu bar, the window is scrolled down and resized so that the menu bargroup is not visible in the window. Because of this, on Mac OS and OS X systems, the vScroll of a stack reports the amount the stack has been scrolled down to hide a menu bargroup.

User Comments
Expander triangle
User thumbnail
Keith Spieldenner
StarStarStarStarStar
Feb 2, 2010
Scroll to the bottom of a field, accounting for size of font...


set the vscroll of fld "fData" to (the effective textheight of fld "fData") * (the number of lines in fld "fData")