> From: Peter Epstein [mailto:[EMAIL PROTECTED]]
> It does indeed move the list so that it's entirely on the screen
> (if the position specified in the resource would cause it not to be).
> If you have access to the sources, it's there in black and white

But I thought the original problem was that the list moved north even though
its height wasn't forcing it, which would still be a puzzle.

Anyway, for lists that can have varying numbers of items, here's what I do:

1. Move the list to the (x,y) position of the trigger;

2. Call LstSetHeight with the total number of items.  If the count is more
than will fit on screen, the OS automatically moves it to the top of the
screen and expands it to full screen height.  This is the best way to
present a long list: you should put the maximum number of items on the
screen before reverting to scrolling, even if this makes the list taller
than originally designed.  Never have a scrolling list that is less than
full screen height.

-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