Economy-x-Talk - Sample Scripts
AddColor Status Bar
Another discussion with Ken Norris, this time about drawing a status bar exactly within a particular rect.
Click the rectangle right below.
on showStatusBar
set the cursor to "Watch"
put the rect of cd btn "StatusBar" into theRect
add 1 to item 1 of theRect
add 1 to item 2 of theRect
subtract 1 from item 3 of theRect
subtract 1 from item 4 of theRect
repeat with h=(item 1 of theRect) to (item 3 of theRect)
put h into item 3 of theRect
wait 1 -- Replace this with your incremented action.
addColor "colorRect","cd",theRect,"0,39321,65535",1
end repeat
wait 1 second
-- addColor "colorCard" -- color rect gone
-- following lines for Sample Scripts stack only
lock screen
drawBG
drawCD
unlock screen
end showStatusBar
Keep this extensive resource of tutorials and samples on-line! Support RunRev.info!
| Yes, this script is useful. I make a donation and choose freely how much I want to donate on-line (PayPal). Click here if you want to make a donation in dollars. | This script has not (completely) solved my problem and I want Economy-x-Talk to take care of it. Let me contact you. |
Copyright©2002-2008 by Mark Schonewille, Nijmegen, the Netherlands. This web site is in no way affiliated with Runtime Revolution Ltd., but we do recommend the Revolution development platform.