User Tools

Site Tools


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

PageUp, PROTECTED

blk2blue.jpg

The PageUp method scrolls the display up 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

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