From Jeremie Leroy - XOJO Controls Wiki
Revision as of 18:27, 9 October 2015 by Admin (Talk | contribs) (1 revision imported)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
PropertyListBox.CellClick ( row As integer, column As integer, x As Integer, y As Integer, PropertyName As String ) As Boolean

Same as Listbox: The user has clicked on the Row, Column cell. Row and Column are zero-based. The parameters X and Y are the x and y coordinates of the mouse click relative to the top-left corner of the cell that was clicked. X and Y are on the same scale of reference as the coordinates used by the Graphics property of the CellBackgroundPaint event. To give the user the ability to edit the cell, change the CellType to Editable (ListBox.TypeEditable) and then call the EditCell method. The user will then get a focusing ring around the cell and the current text will become editable. When the user tabs out of the cell, the changes will be saved. You will get the CellAction event. CellClick returns a Boolean. Returning True means that the event will not be processed further (i.e., editable cells won't be editable and ListBox selection won't change). With one new parameter: PropertyName which contains the name of the line that was clicked.