Yes. With repeaters, You can put a little bitmap on top of the
repeating button(probably an up or down arrow), and then whenever
the ctlRepeatEvent occurs, catch one button or the other and
display a part of the string in the text field (you'll need to
provide the function that breaks the string up into parts and
displays only a part of it in the field it's in). (I did this
once with my own time setting function, when I was in the mood
to reinvent the wheel. Only I updated labels on top of push
buttons instead of a text field.)
Or, just use
SclDrawScrollBar (ScrollBarPtr bar), where the bar type is defined
in ScrollBar.h in the UI dir of your Core libraries directory.
-Rus
>-----Original Message-----
>From: Vikas Varshney [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 26, 2000 10:53 AM
>To: Palm Developer Forum
>Subject: Dynamic ScrollBars ????
>
>
>Hello All,
>I am wondering if there is any way to create a scroll bar
>dynamically. Is
>there any way to simulate dynamic scrollbars using repeating buttons?
>
>Thanks in advance.
>Vikas Varshney
>
>
>--
>For information on using the Palm Developer Forums, or to
>unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/