User Tools

Site Tools


displaypage_display_new_page_.htm
Navigation:  ABC Library Reference > ASCIIViewerClass > AsciiViewerClass Methods >====== DisplayPage (display new page) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

DisplayPage( [line number] )

blk2blue.jpg

DisplayPage Displays a new page from the file.
line number An integer constant, variable, EQUATE or expresssion that contains the offset or position of the line of text to include in the display. If omitted, line number defaults to the value of the TopLine property.

The DisplayPage method displays a new page from the file. The display includes the line at line number, or the line specified by the TopLine property, if line number is omitted.

Example:

MyViewerClass.Reset PROCEDURE(*STRING Filename)

 CODE

 FREE(SELF.DisplayQueue)

 DISPLAY(SELF.ListBox)

 PARENT.Reset(Filename)

 SELF.TopLine=1

 SELF.DisplayPage

 SELECT(SELF.ListBox,1)

See Also:     TopLine

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