I have a MapBasic program that runs in a big loop where each iteration adds
text to a Layout window using the Create Text command.

The problem is that you don't see any of the text appear on the layout until
the program has made it through all iterations of the loop, and because this
is a long loop, I want the user to be able to read each line of text as it
appears in the layout window, not have to wait until the loop is complete.

Some background:
The layout window is the front window
Set Layout Frame Contents On is set
I've tried Run Menu Command M_WINDOW_REDRAW
I've tried calls to Windows DLLs like SetActiveWindow, etc.

An interesting thing:  If I put a Note statement in the middle of each loop,
then the layout window redraws - so I know it can be done.  (though several
dozen note statements are, of course, not an option)

Any help appreciated...

Randy







Randy Majors  -  Manager, GIS & Mapping
Resource Data International  303-444-7788
 <http://www.resdata.com> http://www.resdata.com  -
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to