DD progress bar
DD progress bar
- Subject: DD progress bar
- From: David Graham <email@hidden>
- Date: Sun, 18 Mar 2001 22:36:07 -0800
Hi all,
I'm stumped! When I call a DD progress bar dialog the main script stops until a result is returned from the DD handler. How can I adjust this so that it stays active until I choose to dismiss it?
property theDialog : {size:{300, 125}, style:standard dialog, closeable:true, name:"New Window", contents:{{class:push button, bounds:{210, 95, 290, 115}, name:"Cancel"},{class:gauge, bounds:{23, 55, 273, 71}, value:0, max value:-1000},{class:static text, bounds:{11, 7, 291, 37}, contents:"Your address book is being updated
"}}, default item:1}
dd install with fonts {name:"Charcoal", size:12} with grayscale
set dlog to dd make dialog theDialog
repeat
set i to dd interact with user for max ticks 60
dd set value of item 2 of dlog to (dd get value of item 2 of dlog) + 2
if i = 1 then
exit repeat
end if
end repeat
dd delete dlog
dd uninstall
--
==============================================================
David Graham Partnerships With Industry
MIS Manager 7540 Metropolitan Dr., #105
voice : 619.681.1999 San Diego, CA 92108
fax : 619.681.1990
http://www.pwiworks.org
AOL IM: dmgraham22
mailto:email@hidden
"We assist persons with disabilities to work in the community"
==============================================================