Dear Marco

Thank you very much for the quick help.

Here is the solution of my problem:

            PROCEDURE Flush* (VAR fm: TextMappers.Formatter);

                        VAR

                                   md: TextModels.Model;

            BEGIN

                        md := fm.rider.Base();

                        Views.RestoreDomain(md.Domain());

                        TextViews.ShowRange(md, md.Length(), md.Length(), TextViews.any);

            END Flush;

Just a few lines and everything are works as expected.

Regards

Helmut Zinn

  _____  

Von: BlackBox [mailto:BLACKBOX@LISTS.OBERON.CH] Im Auftrag von Marco Ciot
Gesendet: Montag, 22. Oktober 2007 20:54
An: BLACKBOX@LISTS.OBERON.CH
Betreff: Re: AW: Updating a text window

True!
    TextViews.ShowRange
(cf. StdLog.Ln)
mc

Helmut Zinn wrote: 

Dear Marco

Yes, you are right. The procedure Views.RestoreDomain(md.Domain()) solves the 1st part of my problem.

Now the windows is updated but not scrolled to the last written line after the first page is filled.

Regards 

Helmut Zinn

  _____  

Von: BlackBox [mailto:BLACKBOX@LISTS.OBERON.CH] Im Auftrag von Marco Ciot
Gesendet: Montag, 22. Oktober 2007 17:35
An: BLACKBOX@LISTS.OBERON.CH
Betreff: Re: Updating a text window

Hello Helmut
I guess you are looking for
    Views.RestoreDomain(text.Domain());
(cf. StdLog.Flush)

Best regards
Marco

Zinn, Helmut wrote: 

Dear BlackBox users,

while you work with BlackBox you certainly know the procedure Dialog.Update for updating forms.

Is there a similar procedure available for TextMappers.Formatter (or TextViews or TextModels) ?

Some background information:

I wrote a module, which writes its output to an open (displayed) window via the TextMappers.Formatter inside a loop.

The output window is empty until this program is terminated. I can’t read the result immediately during the program is running.

I would like to insert a call something like “Dialog.Update” or “Dialog.ShowStatus” at the end of the loop before it repeats the next step thru that loop. 

Thank you for your help.

Regards

Helmut Zinn

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH 

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH
SPAN