HITBOTTOM Grid Notify Event
Description
The user tried to scroll past the bottom row of the grid. This message allows users to change the number of rows while they are using the grid.
Event Template
context:u(2),code:i(1),id:u(2),objtype:i(2),msg:i(4),wparam:i(4),lparam:i(4),col:i(4),row:i(4),textcolor:c(3),backcolor:c(3),alignment:u(1),style:i(4),imgidx:i(4),x:i(2),y:I(2),w:u(2),h:u(2), ptx:i(2),pty:i(2),buf:c(1*)
Significant Field |
Description |
context |
Context in which the event occurred. |
code |
10 |
id |
ID of the resource that caused the event. |
objtype |
Type of resource that caused the event. |
msg |
Event code number. |
wparam |
Attempted number of rows scrolled. |
lparam |
Number of current rows in the grid. |
If the data source contains an unknown number of records, set the number of rows in the grid to 1, then trap the HITBOTTOM Notify event message. Next, check wparam for more records and readjust the number of rows in the grid using Set Number of Rows - GRID SENDMSG() Function 67.
See Also
NOTICE() Function - Get SYSGUI Notice String