skip to main content

Controls Reference : GRID : Styles : Paged

Paged
When this style is set, the Grid control is paged. It can contain only the rows that fit it. The vertical scroll-bar becomes useless and in its place four buttons are displayed.
If the [Shift] key is pressed, two of the four buttons change appearance and functionality.
Pressing the buttons, the user can access the previous or next record and the first, last, previous and next page of records.
In response to the user's clicks, the following events are fired: MSG-PAGED-PREV, MSG-PAGED-NEXT, MSG-PAGED-FIRST, MSG-PAGED-LAST, MSG-PAGED-PREVPAGE, and MSG-PAGED-NEXTPAGE.
See also the File-Pos property.
 
Example - Define a grid with paged style
screen section.
  03 screen-1-gr-2 Grid
     line 25.0
     column 3.1
     size 34.8 cells 
     lines 16.2 cells 
     event procedure screen-1-gr-2-evt-proc
     column-headings
     mouse-wheel-scroll 5
     row-dividers 1
     heading-font Default-Font
     cursor-frame-width 3
     num-rows 5

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left