Ideas for presenting table

A third drill-down option, one that I've seen in numerous commercial applications, is to use a notebook. This approach works well when you need the screen space and don't need to see multiple drill-down levels at once. It's even more effective when your data is more than two or three levels deep. Drilling down is usually activated via a double click.
In such architectures, returning to a higher level is usually accomplished via tab click; selecting a different row at any level deletes all levels below before drilling down one level. The escape key may be used to delete the lowest level without generating a new drill-down level.

Or you can use combinations of the above options. It all depends upon what you want to have on-screen at the same time.

Bob

···

At 07:24 AM 12/18/2007, jonhattan wrote:

craig harris escribió:

Hello

I am trying to produce an application that will display a list of information in the form of a table but want to be able to select a row of this and then create another window with more detailed information. The table would be something like:

Horses 9 6%
Goats 4 3%
Rabbits 2 1%

I could then click on the Horses and get further information like:

Dobbin Brown 24 hands
Neddie Black 22 hands
etc etc...

I was thinking that maybe each row of the table could be a button. Is there a better way to do this?

I think of two ways:

1. show a dialog/frame on double click, with wx.EVT_LIST_ITEM_ACTIVATED

2. put a panel below the list. The panel is hidden at the beginning, and on a single click, the panel loads the info related to the selected item (wx.EVT_LIST_ITEM_SELECTED).

jonhattan