pageup_scroll_up_one_page_.htm
Navigation: ABC Library Reference > ASCIIViewerClass > AsciiViewerClass Methods >====== PageUp (scroll up one page) ====== | |
PageUp, PROTECTED
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 by 127.0.0.1