At 03:33 PM 12/2/2003, Luc Le Blanc wrote:
Ben Combee a �crit :

> At 01:52 PM 12/2/2003, David Bartlett wrote:
> >What's the best way to make a progress bar for my application when it does
> >
> >something that takes a long time? I couldn't see a standard control in
> >PilRC designer, so I assume its not a standard control. Is anyone willing
> >to share some code?
>
> Use the Progress Manager APIs in Palm OS to put up a progress dialog and
> run your work task using a callback routine.
>
> If you want to do it within your form, make your own bar using a gadget to
> reserve the space and custom drawing code.

Correct me if I'm wrong, but a Progress dialog does not have a progression bar, just text and buttons.

You're right... there is no "progress bar" in the form. However, you can use the text to indicate progress, and it is a nice mechanism for that. The gadget is best if you require an actual bar.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.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