Re: Is there any way to stop monitor refreshing
Re: Is there any way to stop monitor refreshing
- Subject: Re: Is there any way to stop monitor refreshing
- From: Emmanuel <email@hidden>
- Date: Tue, 17 Jul 2001 10:27:13 +0200
At 6:51 +0200 17/07/01, Goksel Kahraman wrote:
>
>
I am trying to create a report file using information from data base. It
>
is working OK, but i don't want to see all activity. Is there any way to
>
stop monitor refreshing?
>
>
My OS is 9.1, MS Word 2001 for Mac , and i am using Smile 1.8.0
>
>
>
Emmanuel, thanks for your response, i couldn't find any info regarding
>
"update screen" property and i do not know how to use it.
"update screen" is a property of the "Text Window" class of Smile (check
Smile's dictionary).
When it is set to false, the window does not refresh its display.
If you write:
----------------------------
-- suppose theWindow is your working window in Smile
set update screen of theWindow to false
set the cursor to busy -- let the user know that something is going on
[...]
[do many things in theWindow]
[...]
set update screen of theWindow to true
----------------------------
then the window "theWindow" will be updated only at the end of the script.
If moreover you hide Word (check the Finder's dictionary), you'll see no
activity during the script.
HTH
Emmanuel