Grid Callbacks

CALLBACK

When callbacks are used instead of READ RECORD, each GRID Notify event has a corresponding CALLBACK, as follows:

NOTIFY EVENT CODE CALLBACK NAME
1 ON_GRID_COLUMN_SIZE
2 ON_GRID_SELECT_COLUMN
3 ON_GRID_DOUBLE_CLICK
4 ON_GRID_DRAG_DROP
5 ON_GRID_CELL_MODIFY
6 ON_GRID_SPECIAL_KEY
7 ON_GRID_EDIT_STOP
8 ON_GRID_EDIT_START
9 ON_GRID_ENTER_KEY
10 ON_GRID_HIT_BOTTOM
11 ON_GRID_HIT_TOP
12 ON_GRID_KEYPRESS
13 ON_GRID_LOST_FOCUS
14 ON_GRID_MOUSE_UP
14 (LCLICKED Grid Notify Event) ON_GRID_MOUSE_DOWN
15 (LCLICKED2 Grid Notify Event) ON_GRID_MOUSE_DOWN
16 ON_GRID_LEFT_COLUMN_CHANGE
17 ON_GRID_MOUSE_MOVE
17 ON_GRID_MOUSE_DRAG
18 ON_GRID_RIGHT_MOUSE_UP
18 ON_GRID_RIGHT_MOUSE_DOWN
19 ON_GRID_SELECT_ROW
20 ON_GRID_GAINED_FOCUS
21 ON_GRID_TOP_ROW_CHANGE
22 ON_GRID_UPDATE
24 ON_GRID_ROW_INSERT
25 ON_GRID_ROW_DELETE
26 ON_GRID_ROW_INSERT_CANCEL
27 ON_GRID_ROW_UPDATE
29 ON_GRID_ERROR
30 ON_GRID_CHECK_ON
30 ON_GRID_CHECK_OFF
31 ON_GRID_ROW_VALIDATION
32 ON_GRID_CELL_VALIDATION
33 ON_GRID_CELL_QUERY
34 ON_GRID_LIST_CANCEL
35 ON_GRID_LIST_CHANGE
36 ON_GRID_LIST_CLICK
37 ON_GRID_LIST_CLOSE
38 ON_GRID_LIST_OPEN
39 ON_GRID_LIST_SELECT

See Also

BBj Events Correspondence Table