Would someone be able to help me with this pressing
(and seemingly never ending problem)?

I am drawing combination of text, tables and bitmaps
to the screen. I need to scroll over all of them so
that they move at the same time. (think Avant-Go
interface) I am using a gadget to draw the text.
Therefore I have to attach the gadget and handle all
events. 

Based on the last parameter of SclSetScrollBar, I
tried to delineate the text that I was drawing to the
screen and update the scroll bar based on these
determined "line numbers" - mimicking the API examples
that deal with fields. 

I am running into strange issues, where the code
sometimes draws text that hangs over the boundary of
the gadget. 

Question is this - can I set the scroll bar based on
pixels instead of line numbers? If so, how do I do
this? 
Pixels would be a standard known quantity, where as
line numbers can vary (line height is based on font
height and I sometimes use standard, bold and italic
font interchangeably)

In addition, could anyone point me to gadget/scroll
bar examples or references? 

TIA, 
Kerry



=====
Kerry L. Twibell
Computer Systems Engineer
[EMAIL PROTECTED]

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to