ROLLERLIST 1.0 - Component for Delphi

The RollerList component is a fun alternative to selecting small lists of 
strings to the standard combo and list box controls.

The RollerList component is freeware. This means that you can it in your own
applications without royalties or licensing fees.  Feel free to distribute
this ZIP file to other on-line services, the Internet, your friends, etc., but
please distribute the complete file.  You may not sell this component -
it is meant to be free.

This is a fairly simple component which means nothing bad should happen when 
you use it - USE IT AT YOUR OWN RISK. 

All questions, comments and criticisms are welcome!

The source for the component can be provided on request. 


John Pullen 

Internet Address: bluebird@dircon.co.uk

RollerList Help
===============

The RollerList component must have at least 4 items for it to work correctly.

The scrolling speed will depend on the size of the RollerList and the speed
of the PC, so I would keep it small and not add too many items to the list.

The following keys can be used to scroll the RollerList when it has focus:

<CR> or Page Down - Scoll to next item
Page Up           - Scroll to previous item.

Note: TabStop property must be set to True before the component can receive
      keyboard focus. The default setting of TabStop is False.


Key Properties
--------------
Alignment       - Align each item to the left, center or right.
FocusColor      - The text color used when the control has keyboard focus.
ItemIndex       - The currently selected Item. The first item is 0.
Items           - The list of items shown in the RollerList.
ShowFocusColor  - Determines if the control will show it has keyboard focus.
WrapList        - Determines if scolling should stop on the first/last item  
                  in the list or wrap to the start or end.


Methods
-------
ScrollNext      - Scroll to the next item in the list. If the currently 
                  selected item is the last item in the list 
                  (i.e ItemIndex = Items.Count - 1) and WrapList is set to
                  true, the selected item will be the first item in the list.


ScrollPrev      - Scroll the the previous item in the list. if the currently
                  selected item is the firt item in the list 
                  (i.e ItemIndex = 0) and WrapList is set to true, the  
                  selected item will be the last item in the list.

ScrollToIndex   
(Idx: Integer)  - The list scrolls to the item with an index of Idx.


ScrollToitem    - The list scrolls to item S. (See demo)
(S: String)             



Events
------
Change          - This event is called any time the currently selected
                  item is changed. The currently selected index can
                  be found in ItemIndex. 

                  To retrieve the currently selected item:

                  MyItem := RollerList1.Items[RollerList1.ItemIndex];














