Actually, the list is not displaying correctly, although declaring the
list globally did solve a big problem.  When you tap the popup trigger,
it will display the first item with a little down-arrow to the right of
it, but none of the other items.  Then if I select this item, it will put
it in the popup trigger text, but with the popup symbol (solid triangle)
to the left of it versus to the right.  A call to LstGetNumberOfItems
returns the correct number, but they are not all getting displayed.  When
there is only 1 item in the list, it does not have the down-arrow, but
after I select the item, it still puts the popup symbol to the left of it
versus to the right.  Also, do you know how to explicitly change the
popup trigger text to match the top item of what you have just put in the
list?  The resource file was compiled using the PilRC plugin, and the
original list text items and popup trigger text were set up explicitly in
a .RCP file.  Thanks.

Karen Serafino

On Sun, 22 Oct 2000 14:14:13 -0500 "Richard Burmeister"
<[EMAIL PROTECTED]> writes:
> From: "Karen M Serafino" <[EMAIL PROTECTED]>
> Subject: LstSetListChoices
> 
> 
> > Does anyone have a WORKING example or explanation of how to set 
> the items
> > of a list to string values read from a database?  I do not have a
> > stringtable resource with the items all set up; I need to read 
> them from
> > a database.  I set up a packed string of null-terminated strings 
> and
> > called SysFormPointerArrayToStrings to create the array of 
> pointers to
> > pass to LstSetListChoices, but it just blanks out the old items in 
> the
> > list and leaves it empty after I draw the form again..  Thank you.
> 
> Sounds like you might not have properly set up the packed string.  
> One thing
> to keep in mind is that the packed string you pass in and the 
> MemHandle that
> SysFormPointerArrayToStrings returns both have to exist as long as 
> the list
> exists for this to work.
> 
> 
> 
> -- 
> 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/

Reply via email to