"Fred Zappert" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi,
>
> I have an application with a scrolling list of data. Rather than always
> forcing the user to click on the up and down arrows in the list window,
I'd
> like to also enable the rocker switches.
>
> Thanks,
> Fred.
>
>
>
>
case keyDownEvent:
if (EvtKeydownIsVirtual(eventP)) {
switch (eventP->data.keyDown.chr) {
case vchrPageUp:
scrollTable(winUp, false);
handled = true;
break;
case vchrPageDown:
scrollTable (winDown, false);
handled = true;
break;
}
}
break;
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/