User Tools

Site Tools


takescroll_process_a_formvcr_scroll_event_.htm
Navigation:  ABC Library Reference > FormVCRClass > FormVCRClass Methods >====== TakeScroll (process a FormVCR scroll event) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

TakeScroll( [scrollevent] ), VIRTUAL

blk2blue.jpg

TakeScroll Processes a scroll event for the FormVCR group.
scrollevent An integer constant, variable, EQUATE, or expression that specifies the scroll event. Valid scroll events are back one item, forward one item, forward one page, back one page, back to the first item, and ahead to the last item. If omitted, no scrolling occurs.

The TakeScroll method processes a scroll event for the FormVCR group.

Implementation:

A scrollevent value of EVENT:ScrollUp scrolls back one item; EVENT:ScrollDown scrolls ahead one item; EVENT:PageUp scrolls ahead one page; EVENT:PageDown scrolls back one page; EVENT:ScrollTop scrolls to the first item; EVENT:ScrollBottom scrolls to the last item. Corresponding scrollevent EQUATEs are declared in EQUATES.CLW.

EVENT:ScrollUp      EQUATE (03H)

EVENT:ScrollDown    EQUATE (04H)

EVENT:PageUp        EQUATE (05H)

EVENT:PageDown      EQUATE (06H)

EVENT:ScrollTop     EQUATE (07H)

EVENT:ScrollBottom  EQUATE (08H)

The TakeScroll method calls the ScrollEnd, ScrollOne, or ScrollPage method as needed.

takescroll_process_a_formvcr_scroll_event_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1