diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-11C24609-3B6D-4B44-B003-FB0C07444A9E.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-11C24609-3B6D-4B44-B003-FB0C07444A9E.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,59 @@ + + + + Scroll +pane +

With any list, grid or other component that can be scrolled vertically, +a scrollbar appears on the right-hand side of the component. The scrollbar +is displayed also on pop-up components.

+ +Scroll pane with scrollbar + + + +
Scrollbars +in Touch UI

In touch devices based on the Symbian platform, +scrollbars (vertical and horizontal) have a touch-enabled scroll box. The +hardware keys (Arrow keys) can also be used for scrolling when the scrollbars +are visible. The scrolling movement on the screen is smooth.

In order +for the scrollbar to be more usable with touch, the actual scrollbar area +is wider than the visible scrollbar. When the user scrolls, the scrollbar +has a related effect to indicate the scrolling. Because the actual area of +scrollbar is wider, the items appearing on that area in scrollable list, grids, +viewers etc. cannot be touch-enabled, e.g. list icons in column D cannot be +tapped.

+
Using +scrollbars in C++ applications

The API to use for creating the scrollbar +component is the Scroller +API.

To use a scrollbar in your application, first create a scrollbar +frame using the class CEikScrollbarFrame. All scrollbar operations are executed via this scrollbar frame. +These operations include creating and destroying the scrollbar, setting its +visibility, and adjusting the scrollbar's model. The scrollbar itself can +be created using the method CreateDoubleSpanScrollBarsL() in the class CEikScrollBarFrame. +The class for the scrollbar is CAknDoubleSpanScrollBar. For implementation information, see Creating +a scrollbar.

Scrollbar models encapsulate the range of integers +which a scrollbar can represent, from zero to n, and the current position +of the scrollbar thumb within that range. To set the scrollbar model, use +the class TAknDoubleSpanScrollbarModel. For information on updating the scrollbar's position and size using +the scrollbar model, see Updating +ArrowHead scrollbar attributes and Updating +DoubleSpan scrollbar attributes.

You can control the scrollbar +visibility using the method SetScrollbarVisibilityL() in the class CEikScrollbarFrame.

To observed scrollbar events, +use the class MEikScrollbarObserver. For implementation information, see Observing +scrollbar events.

+
\ No newline at end of file