CPIA Block: List
Inputs:
- A list block uses a collection (if that's the appropriate repository term) to determine what items to display.
- If this is a multi column list (a table) it will need a way to specify what columns there are and from what attributes of each item they are populated, and what the sort order is.
- Dimensions (or is that a standard input for any block?)
- Font / size
Events fired:
- Row(s) selected
- "Activate" (double-click or Enter key pressed)
Events watched:
- "Data changed": if the underlying data has changed the list will need to be updated
- "Change selection": if you want to programmatically change what rows are selected
- "Add column", "Delete column", "Sort by"
Proposal:
Wrap wxListBox (if only single column), or wxListCtrl (if multi-column)
--
MorgenSagen - 11 Dec 2003