David

Did you by any chance pinch your map/layers set-up/refresh/display code
from the MapBasic window in MI?  If you did, it may be rife with "Set
Redraw On"s.  Or it may not have any "Set redraw Off"s.  I had the same
problem.  What I did is make sure I'd located all the ons and offs, got
rid of any not needed, and just have one "Off" at the beginning of any
code that alters/draws maps, and one "On" after it's all done.  Hey
presto! Bumpf!  The map's all done in one go.

Check any sub-procs you call that may have more "on"s in them

HTH

Terry

-----Original Message-----
From: David Baker [mailto:[EMAIL PROTECTED] 
Sent: 15 July 2004 16:01
To: [EMAIL PROTECTED]
Subject: MI-L Can I stop the map from drawing until it's ready?

Hey Listers,

I was wondering if anyone can tell me the best way to avoid drawing 
and redrawing maps while running a mapbasic app.  I have set Redraw 
and Event Processing off, but it still draws all the layers as soon 
as the "Map from..." command comes in.  And then again when I set the 
layer styles.  This really slows down the app.  Is there some way to 
get the map not to draw at all, until everything is set?  Am I doing 
something wrong?

Thanks all,
David.

Sign up today for your Free E-mail at: http://www.canoe.ca/CanoeMail 

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12632





---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12633

Reply via email to