Here one example case keyDownEvent: if(event->data.keyDown.chr == pageDownChr) { ListType *pList; pList = (ListType*) GetObjectPtr(MainClienteList); LstScrollList(pList,1 ,4); //Here scroll 4 items up, change 1 handled=true; break; } if(event->data.keyDown.chr == pageUpChr) { ListType *pList; pList = (ListType*) GetObjectPtr(MainClienteList); LstScrollList(pList,0,4); handled=true; break; } break; -- Open WebMail Project (http://openwebmail.org)
---------- Original Message ----------- From: "Paturi, Ramesh P (IndSys)" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wed, 6 Aug 2003 20:31:30 +0530 Subject: Scrolling one item at once > Hi: > I am using a scroll bar in a list and I wrote code to see only 4 > items in a screen space. I have mapped scroll hard buttons to scroll > the list. When I am scrolling I am getting scrolled 4 items at once > but I want to scroll only one item at once. I am sure someone might > have faced this problem before. I am unable to crack it and would > appreciate if someone can let me know the way it can be handled. > > Anticipating help and thanks in advance. > > Regards > Ramesh > > "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR > THE ADDRESSEE and may contain confidential and privileged information. > If the reader of this message is not the intended recipient, you are > notified that any dissemination, distribution or copy of this > communication is strictly Prohibited. If you have received this > message by error, please notify us immediately, return the original > mail to the sender and delete the message from your system." > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ ------- End of Original Message ------- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/