Text Table Widget?

Hi.

I’m looking to setup a large (larger than short int) list of names to make a
selection from. I need to access different lists from different places.

I don’t want to use a PtList, because it only has one column and the limit
on the number of items that can be listed.

Has anyone done something similar? Any ideas? I would like a simple way to
implement this.

I don’t need to ‘enter’ text or put any fancy items (widgets) on the list,
just plain label (rows x columns) and be able to select individual items.

Are there any contributed widgets?

Why didn’t QSSL provide a widget to do this with Photon 1.14 (I wish it
did)?

TIA

Augie

Augie:
In the past, I’ve got over this problem by defining a set of PtLabel’s
inside a PtGroup with a boundary (or in a PtPane with a boundary) and with a
vertical PtScrollbar by the side of it so that it resembles (visually) a
PtList. Your application code is then responsible for populating the
PtLabel’s and for changing the contents of these labels as you get the
appropriate callbacks from the PtScrollbar, but it turns out that this is
not too much code.

BTW, this method also has the advantage (I know you are not looking for
this) that you can put things other than text in the list. This method also
has the additional advantage over a PtList that it will save memory (no need
for a PtList to maintain the text for each line - even when a line is not
shown) and time (populating a PtList with lots of entries can take some
time).

Lionel

==================================
Lionel J Johnson
Sterling Computer Systems Inc.
19270 North Hills Drive
Brookfield, Wisconsin 53045
USA.

“Augie Henriques” <augiehenriques@hotmail.com> wrote in message
news:9kbsna$98c$1@inn.qnx.com

Hi.

I’m looking to setup a large (larger than short int) list of names to make
a
selection from. I need to access different lists from different places.

I don’t want to use a PtList, because it only has one column and the limit
on the number of items that can be listed.

Has anyone done something similar? Any ideas? I would like a simple way
to
implement this.

I don’t need to ‘enter’ text or put any fancy items (widgets) on the list,
just plain label (rows x columns) and be able to select individual items.

Are there any contributed widgets?

Why didn’t QSSL provide a widget to do this with Photon 1.14 (I wish it
did)?

TIA

Augie