| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ASCIIViewerClass > AsciiViewerClass Methods >====== DisplayPage (display new page) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[askgotoline go to user specified line .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[init initialize the asciiviewerclass object .htm|{{btn_next_n.gif|Next page}}]] | | || **DisplayPage( **[//line number//]// //**)** {{blk2blue.jpg|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 first line currently displayed .htm|TopLine]]