Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

scroll-position

Generic function

Summary

Returns the position of the scroll bar slug in the specified sheet.

Signature

scroll-position sheet => x y

Arguments

sheet
An instance of type <sheet>.

Values

x
An instance of type <integer>.

y
An instance of type <integer>.

Library

duim-gadgets

Module

duim-gadgets

Description

Returns the position of the scroll bar slug in sheet. Note that this generic function only returns the position of scroll bar slugs that have been created using the scrolling macro. It does not work on gadgets with scroll bars defined explicitly.

Note: The Microsoft Windows Interface Guidelines refer to the slug as a scroll-box, and the area in which the slug can slide as the scroll-shaft. You should be aware of this difference if you are using those guidelines as a reference.

Example

See also

scrolling, page 639

set-scroll-position, page 642


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index