> What might cause LstGetVisibleItems to return a value of 1 less than the > correct value? My PiLRC source for the list item says VISIBLEITEMS 5; when > I call the function during initialization of the form, the value returned is > 4. Another list on the same form, with 6 visible items, returns the correct > value when calling the function. The palm doc on this function is rather > sparse; no hint where to look. > > A possibly related question is this: the ListType data structure does not > appear to have a field for visible items (it does have numItems, which is > different). Does this mean that the system is calculating the visible items > value, somehow? If so, how?
The maximum number of visible items is obtained by dividing the height of the control by the height of the font. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
