User Tools

Site Tools


pagedown_scroll_down_one_page_.htm
Navigation:  ABC Library Reference > ASCIIViewerClass > AsciiViewerClass Methods >====== PageDown (scroll down one page) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

PageDown, PROTECTED

blk2blue.jpg

The PageDown method scrolls the display down one “page.” A page is the number of lines displayed in the ASCIIViewerClass object's LIST control.

Example:

MyViewerClass.TakeEvent PROCEDURE(UNSIGNED EventNo)

 CODE

 IF FIELD()=SELF.ListBox

   CASE EventNo

   OF EVENT:Scrollup

     SELF.SetLineRelative(-1)

   OF EVENT:ScrollDown

     SELF.SetLineRelative(1)

   OF EVENT:PageUp

     SELF.PageUp

   OF EVENT:PageDown

     SELF.PageDown

   END

 END

pagedown_scroll_down_one_page_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)