LISTCLICK Grid Notify Event

Description

A BBjGrid has a list control (BBjListButton or BBjListEdit) assigned to a cell, that cell is in edit mode, and the user clicks on an item in the list.

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

36

id

ID of the resource that caused the event (107 is a Grid control).

objtype

Type of resource that caused the event.

lparam

Index of the item in the grid’s list control that was highlighted.

col

Number of the column containing the list control that was being edited.

row

Number of the column containing the list control that was being edited.

buf

Text of the item in the grid’s list control that was selected when editing started.

If a grid cell that contains a list control (BBjListButton or BBjListEdit) is being edited, that cell is in edit mode, and the user clicks on an item in the list, then a LISTCLICK Grid Notify event message is fired.

See Also

NOTICE() Function - Get SYSGUI Notice String

NOTICETPL() Function - Get Notice String Template

BBjGridListClickEvent