--- Laura Brewster wrote:

> Can anyone tell me how to scroll a list?  I 
> have created an 8 line list to display 
> various text messages.  When I call 
> LstScrollList, nothing happens.
> What am I doing wrong?

If you can see all 8 lines, there is nothing to
scroll.

Most often, your app doesn't call LstScrollList -- the
OS takes care of it for you when the user taps a
scroll arrow.

However, the following code could be used to scroll a
list down 1 line if you aren't already at the bottom:

  FormPtr frmP = FrmGetActiveForm();
  ListPtr listP = FrmGetObjectPtr(frmP, 
    FrmGetObjectIndex(frmP, MainListList));
  LstScrollList(listP, winDown, 1);


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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