"Essell" <[EMAIL PROTECTED]> wrote in message
news:62024@palm-dev-forum...
>
> hi there,
>
> i've written this code to populate a list control with dynamic info at
run
> time. right now i have an application defined funciton that does the
> drawing. however this uses an array of strings. i need to do the same
thing
> using a data structure instead of the array. Can anyone tell me if
this is
> possible ??
>
> as far as i've seen, you have to set an array to the list before it is
> drawn. can i avoid this somehow ? any ideas, comments, suggestions
would be
> appreciated ..

You never need to call LstSetChoices -- you just need to have some way
for the custom list drawing function to map an index into code that
draws an item.  If its a popup list, you also need to intercept the
popSelectEvent and prevent the system from changing the popup trigger
label.

Other than those two cases, the OS never inspects the contents of the
list.



-- 
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