[REBOL] How to manage data without events (in view)
From: ale870::gmail::com at: 26-Apr-2006 23:53
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