by Gilles » Tue Dec 16, 2008 1:26 am
Thanks for your input. I've managed to make a very crude progress bar with a dynamic area inside a panel. It obviously could use some improvement but I can live with that for my small project. I just put it out here in case it can help somebody or if a better way can be found starting from what I've done.
The Panel DYNAREA
)ATTR
# AREA(DYNAMIC)
/ TYPE(CHAR) INTENS(HIGH) COLOR(GREEN) HILITE(REVERSE)
)BODY WINDOW(50,1)
#SAREA,SHADOW -----------------------------------#
)END
The REXX DYNAREA
/* REXX */
SAREA = ' '
SHADOW = ''
ADDRESS 'ISPEXEC'
"ADDPOP ROW(05) COLUMN(10)"
DO K=1 TO 50
SHADOW = SHADOW || '/'
"CONTROL DISPLAY LOCK"
"DISPLAY PANEL(DYNAREA)"
DO L=1 TO 20000
END
END
"REMPOP"
EXIT