Tim:
Tables holding text are essentially wrappers around field objects. The
field object holds (and possibly manipulates) the text handle. Thus you
shouldn't -- except for tables which are windows into larger data sets
(table has 10 rows, you have 20 rows worth of data), for which you should
hold onto the handles of items that are not in the table. Of course, in
this case the usual practice is that the text items are actually in a
database, so you hold onto the record numbers of the items that could go
into the table, then in a "SetTable" (possibly with "LoadData" and
"SaveData" callbacks) routine push the data into a table. You should look
at the example code that ships with the sdks.
-bob mckenzie, <[EMAIL PROTECTED]>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim
Astle
Sent: Thursday, June 29, 2000 6:28 AM
To: Palm Developer Forum
Subject: simple table question
Hey guys,
When dealing with loading textTableItems in a table, they each require a
handle. Now what I was wondering is should I declare an 8 row x 2 column 2
dimentional array or make a linked list to handle this? I'm not certain of
this because I don't really understand the backend aspect to tables and the
data. The table does have a scrollbar, and will be redraw upon a scroll,
add, delete, etc.
So is it linked list or 2 dimentional array? Thanks!!!
Timothy D. Astle
People on Jolt cola write the funniest things.
A-10 Obedience Guide,
Kitty Hawk Studios
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/