Grid Cell Query Event
Description
In BBj 8.0 and higher, this event fires when the user clicks a query button associated with a grid cell.
To register a button for grid cell validation:
control!=BBjAPI().getSysGui().getWindow(context).getControl(id)
control!.setCallback(BBjAPI().getSysGui().ON_GRID_CELL_QUERY,"")
Remarks
If a control has registered for this event, the program must respond to it by invoking control!.accept(1) to accept the change or control!.accept(0) to reject the change.
Mandatory/Optional |
Mandatory. |
Event Mask Bit |
None. Event is always visible. |
Event Template
context:u(2),code:c(1),id:u(2),flags:u(1),x:u(2),y:u(2)
Field |
Description |
context |
Window context |
code |
N |
id |
Grid ID |
flags |
33 |
x |
0 |
y |
0 |