LISTSELECT 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 selected an item in a grid cell’s list control (BBjListButton or BBjListEdit) via a mouse click or a key press.

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

39

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 selected.

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, and the mouse clicks or the user presses the [Enter] or [Tab] key to select an item in the list control’s drop-down list, then a LISTSELECT Grid Notify event message is fired.

See Also

NOTICE() Function - Get SYSGUI Notice String

NOTICETPL() Function - Get Notice String Template

BBjGridListSelectEvent




______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.