Hi all:

I have a table that works fine for scrolling with hard keys and scrollbar
when the 'All' category is selected, but not when any of the subcategories
is selected. 

When a subcategory is selected, the table scrolls through the first two
screens of records, then won't scroll any further.

In the debugger, the problem seems to be that the scrollbar keeps endlessly
generating a sclRepeatEvent when a subcategory is selected, but not when the
category is dmAllCategories.

Here's the code that handles the sclRepeatEvent:


case sclRepeatEvent:
    numRows = event->data.sclRepeatEvent.newValue   -
event->data.sclRepeatEvent.value;
    PtListScrollRows (numRows);
    handled = false;

    break;

Any ideas why the table scrolling behavior would work fine when the all
cateogry is selected but only scroll halfway through the records in a
subcategory?

Peter


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to