Displays the status dialog box.
statusbox <message> <title> [<special>]
Displays the status dialog box if it has not been displayed yet.
Changes the message to <message> and title to <title>.
The "setdlgpos" command changes the position of status dialog box.
The "closesbox" command closes the status dialog box.
If <special> is non-zero, following strings in <message> is treated as spacial character.
If <special> is not specified then 1 is used.
input | output |
---|---|
\\ | "\" |
\n | line feed |
\t | tab |
; Set the initial position. setdlgpos 200 200 ; Display the status dialog box. statusbox 'Message' 'Title' pause 3 ; Move the dialog box. setdlgpos 0 0 pause 3 ; Move the dialog box. closesbox
; infinite loop while displying the counter step = 0 while 1 call show_step sendln 'echo do something' wait '$' pause 2 endwhile exit :show_step step = step + 1 int2str s step statusbox s 'counter' return