From: | Dave Clarke |
Date: | 30 Aug 2001 at 11:58:07 |
Subject: | [D5] Re: example sources for progress bar |
Once upon a time, 29-Aug-01 15:07:30, Dr Greg Perry spoke thus about
'Re: [D5] Re: example sources for progress bar':
>On 29-Aug-01 13:54:06 Dave Clarke wrote:
>>I did have a simple example on the DOPlus CD, if Greg let's me I could post
>>just that example.
>Yes sure, Dave.
Ta Greg :)
------------
There's actually three examples, two for listers and one for the DOpus screen
which is more relevant to you, Jonathan, unless you actually want to open a
lister to check the progress of Miami :)
-----------------8<---------------
/* DopusProgress.dopus5 */
options results
address 'DOPUS.1'
dopus front
dopus progress name info info2 info3 bar abort
handle = result
dopus progress handle title "DOpus Progress Test"
dopus progress handle info "Counting from 10 to 0"
dopus progress handle info2 "Press abort to end"
do i = 10 to 0 by -1
dopus progress handle bar 10 i
dopus progress handle info3 i" to go."
address command wait 1
dopus progress handle abort
if result = 1 then leave
end
dopus progress handle off
dopus back
exit
-----------------8<---------------
The DOpus ARexx guide explains all the parameters.
Dave