| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > BrowseClass > BrowseClass Methods >====== ScrollOne (scroll up or down one item) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[scrollend scroll to first or last item .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[scrollpage scroll up or down one page .htm|{{btn_next_n.gif|Next page}}]] | | || **ScrollOne( **//scrollevent //**), VIRTUAL, PROTECTED** {{blk2blue.jpg|blk2blue.jpg}} | **ScrollOne** | Scrolls up or down one browse list item. | | //scrollevent// | A numeric constant, variable, EQUATE, or expression that indicates the requested scroll action. Valid scroll actions for this method are scrolls up or down a single list item. | The **ScrollOne **method scrolls up or down one browse list item. **Implementation:** The BrowseClass.TakeScroll method calls the ScrollOne method. A hexadecimal //scrollevent //value of EVENT:ScrollUp scrolls up one list item. A value of EVENT:ScrollDown scrolls down one list item. Corresponding scroll event EQUATEs are declared in EQUATES.CLW: **EVENT:ScrollUp      EQUATE (03H)** **EVENT:ScrollDown    EQUATE (04H)** **Example:** **BrowseClass.TakeScroll PROCEDURE( SIGNED Event )** ** CODE** ** IF RECORDS(SELF.ListQueue)** **  CASE Event** **  OF Event:ScrollUp OROF Event:ScrollDown** **   SELF.ScrollOne( Event )** **  OF Event:PageUp OROF Event:PageDown** **   SELF.ScrollPage( Event )** **  OF Event:ScrollTop OROF Event:ScrollBottom** **   SELF.ScrollEnd( Event )** **  END** ** END** **See Also:     **[[takescroll process a scroll event .htm|TakeScroll]]