trigger RowHeader_LClicked
Interactive trigger that is handles processing when the user clicks a row header of the Grid widget.
trigger RowHeader_LClicked
params
numeric rowNumber : in
numeric shiftKey : in
endparams
; <Your code here>
end ; trigger RowHeader_LClicked
Applies to: | Form widgets: egrid (Grid) |
Activation: | Activated when the user clicks the row header of the Grid widget, with or without any combination of the Shift, Alt, and Control keys. |
Default behavior: | None |
Behavior upon completion: | None |
Parameters
rowNumber
returns the occurrence number of which the row header is clickedshiftKey
returns whether the Shift, Alt, Control, or a combination of these keys, is pressed, when the row header is clicked, as shown in the table.
shiftKey |
Shift | Control | Alt |
---|---|---|---|
0 | Not pressed | Not pressed | Not pressed |
1 | Pressed | Not pressed | Not pressed |
2 | Not pressed | Pressed | Not pressed |
3 | Pressed | Pressed | Not pressed |
4 | Not pressed | Not pressed | Pressed |
5 | Pressed | Not pressed | Pressed |
6 | Not pressed | Pressed | Pressed |
7 | Pressed | Pressed | Pressed |
For example:
trigger RowHeader_LClicked params numeric rowNumber : in numeric shiftKey : in endparams ; select occurrences based on the clicked row setocc "<$entname>", rowNumber end ; trigger RowHeader_LClicked