r2 - 12 Nov 2004 - 15:11:09 - KatieCappsParlanteYou are here: OSAF >  Journal Web  >  DevelopmentHome > ApplicationProject > CpiaFramework > BlocksToCreate20031211 > BlockList20031211

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

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.