ENTER Grid Notify Event

Description

The Enter key was pressed while the control was not in edit mode. If getEnterAsTab() <link> returns true, then whenever user presses Enter, BBj will treat that key entry as though the user had pressed Tab and so the ENTER GridNotifyEvent will not be sent.

Event Template

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*)

Significant Field

Description

context

Context in which the event occurred.

code

9

id

ID of the resource that caused the event.

objtype

Type of resource that caused the event.

msg

Event code number.

wparam

Extended key status flag, which identifies the status of the Shift and Ctrl keys:

  • Bit $01$ set = Ctrl pressed.

  • Bit $02$ set = Shift pressed.

col

Number of the current column.

row

Number of the current row.

See Also

NOTICE() Function - Get SYSGUI Notice String

NOTICETPL() Function - Get Notice String Template

BBjGridEnterKeyEvent