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.
The following identifies the Table Information Notify events.
Code |
Name |
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
28 |
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)
The following identifies the Request Update Notify event:
Code |
Name |
22 |
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.
The following identifies the Data Aware Record/Row Operation Notify events.
Code |
Name |
24 |
|
25 |
|
26 |
|
27 |
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 |
See Also
NOTICE() Function - Get SYSGUI Notice String
NOTICETPL() Function - Get Notice String Template