The Scroll bar resource panel is used to set the resources of Scroll bar widgets.
The panel is laid out in logical pages due to the number of resources which can be set for a scrollbar. Select the page you want using the Tab Buttons at the top of the dialog.
A Scrollbar can be used to control a logical viewpoint onto another object. The Display page allows you to set various resources (Slider size, Minimum, Maximum and Value) which are meant to reflect the relationship between the displayed object and the logical viewpoint viewing coordinates. Adjustments to the viewpoint - how much data is scrolled - can be controlled by the Increment and Page Increment resources. The Trough Color resource can be typed in directly, or selected using the Color Selector dialog by pressing on the resource button to the left.
The Settings page contains various scalar resources - Orientation being the most frequently used. Choose from the option menu provided in order to configure your scrollbar in a vertical or horizontal manner.
The Callbacks page allows you to associate various user scrolling actions with procedures in your application. The Value Changed and occasionally the Drag callbacks are the most important for most applications. Click on the callback of interest and the Callbacks panel will be displayed.
NOTES
It is not recommended that you override Scrolled Text and List widget scrollbar callback routines to change the default scrolling behavior for these widgets.
If you cannot find the resource you want to set in this resource panel, it may be found within the Core Resources Panel (selected from the Widget menu at the top of X-Designer).
See also: