From: scott [mailto:[EMAIL PROTECTED]]
> LstSetHeight(list, 5<num_items?5:num_items);
> where list is a pointer to a list control, 5 is the maximum
> number of items I want to see, and num_items is the number
> of items in the list, which I set with LstSetListChoices

Is this for a popup list?  This code would limit the list to 5 visible items
even if it contained more.  In general a popup list should display as many
items as possible without scrolling, up to the height of the screen.  So if
you just pass the exact number of items to LstSetHeight, this happens
automatically.

-slj-



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