>The problem is that "the proper values" for the scrollbar's "max value" and
>"page size" variables are always approximate.  I don't know in advance of
>rendering the entire page how many lines there are in it.  Due to the
>effects of word-wrapping (and soon font and style changes), the number of
>characters on each line is variable.

How about using the # of chars instead of the # of lines? Is that 
feasible? You can get the max  # from the size of the record. All you 
need is a way to track your current char position (at least I _think_ 
it should be that easy).

Regards,
Steve Mann
-- 
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.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