Grid Control Notify Events
Table Information Notify Events
Table Information Notify events report changes to cells, rows, and columns and general grid changes such as focus, sizing and drag/drop notification. Table Information Notify events use the TI$ templated string, as follows:
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*)
Each Table Information Notify event uses some or all of the fields contained in the template. The individual notify event section identifies the actual fields used.
| Code | Name |
|---|---|
| 1 | COLUMNSIZED |
| 2 | COLCHANGE |
| 3 | DCLICKED* |
| 4 | DRAGDROP |
| 5 | EDITCHANGE |
| 6 | EDITKEY |
| 7 | EDITKILL* |
| 8 | EDITSET |
| 9 | ENTER |
| 10 | HITBOTTOM |
| 11 | HITTOP |
| 12 | KEYBOARD |
| 13 | KILLFOCUS |
| 14 | LCLICKED* |
| 15 | LCLICKED2* |
| 16 | LEFTCOLCHANGE* |
| 17 | MOUSECAPTURE |
| 18 | RCLICKED* |
| 19 | ROWCHANGE* |
| 20 | SETFOCUS |
| 21 | TOPROWCHANGE* |
| 28 | EDITSTART |
| 30 | CELLCHECKED |
| 34 | LISTCANCEL |
| 35 | LISTCHANGE |
| 36 | LISTCLICK |
| 37 | LISTCLOSE |
| 38 | LISTOPEN |
| 39 | LISTSELECT |
| 40 | ROWSELECTCHANGE |
| 41 | COLSELECTCHANGE |
| 42 | CELLCHANGE |
| 43 | CELLSELECTCHANGE |
|
(*) Some of the content on these pages include BBj-specific information. |
|
Request Update Notify Events
Request Update Notify events report grid requests to redraw the cells in the range specified. Request Notify events use the REQUPD$ templated string, as follows:
context:u(2),code:i(1),id:u(2),objtype:i(2),leftcol:u(6),toprow:u(6),rightcol:u(6),botrow:u(6)
| Code | Name |
|---|---|
| 22 | TABLEUPDATE* |
Data Aware Record/Row Operation Notify Events
Data Aware Record/Row Operation Notify events report the occurrences of row insert, delete, update or modification cancel operations. Data Aware Record/Row Operation Notify events use the RCDNFY$ templated string, as follows:
context:u(2),code:i(1),id:u(2),objtype:i(2),row:i(4),rcd:c(1*=)
Data Aware Record/Row Operation Notify event uses some or all of the fields contained in the template. The individual Notify event section identifies the actual fields used.
| Code | Name |
|---|---|
| 24 | ROWINSERT |
| 25 | ROWDELETE |
| 26 | ROWCANCEL |
| 27 | ROWUPDATE |
| 31 | ROWVALIDATION* |
Error Notify Events
Error Notify events report errors that have occurred in the grid control. Error Notify events strings use the ERROR$ templated string, as follows:
context:u(2),code:c(1),id:u(2),objtype:i(2),griderror:i(2),bberr:i(2),tcberr:i(2),rcd:c(1*)
| Code | Name |
|---|---|
| 29 | ERROR |
See Also
NOTICE() Function - Get SYSGUI Notice String