[REBOL] Re: How to manage data without events (in view)
From: massung::gmail at: 26-Apr-2006 17:39
Not quite sure if this is the problem, but something I typically forget is
the SHOW the face again. Changes to the face won't take effect (visibly)
until you show it again.
HTH,
Jeff M.
On 4/26/06, Alessandro Manotti <ale870-gmail.com> wrote:
>
> Dear all, I'm a newbe in Rebol.
>
> I'm creating a Rebol application, and I need to display a progress bar
> (I'm using RebGUI, but I think the concept is the same using classic
> view) without user interaction.
> I hope the following example will better explain what I need (it is
> not the real code I'm programming, but an easy code I create just
> represent my real problem):
>
> repeat counter 10 [
>
> display compose/deep/only "PROGRESS" [
> pro: progress
>
> do [
> incr: 0
> repeat newCounter 10 [
> pro/data: incr
> incr: incr + 0.1
> ]
> ]
>
> unview
> ]
>
> Well, the problem is I don't see any progress in the bar, since the
> form is not shown until the do [ ... ] loop does not finish!
>
> Can you help me?
>
> Thank you!
>
> --Alessandro
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
massung-gmail.com