Hello Troy,

Unfortunately MI/MB does not have any concept of event timers. It is
possible to write a MapBasic program which would wait a period of time and
then refresh, but this would hog the whole Pro session and not allow any
other use of the application (apart from stopping the looping program). The
best solution is to use an external timer program (see recent thread about
animation) to inject a DDE message into Pro. Pro can then have a MB program
listening for this message and refresh all/some of the mapper windows. Sorry
it's not a simple solution!

Regards,
Warren Vick
Europa Technologies Ltd.
http://www.europa-tech.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 6:47 PM
To: [EMAIL PROTECTED]
Subject: RE: MI-L Connecting to Live ODBC data and refreshing


Does anyone have an idea how to automatically refresh a mapview?  I would
imagine it would involve using the mapbasic window and issuing some
statement like, start a timer for 4 seconds, if the timer = zero, refresh
the map window, restart the timer, or something like that.  I have neither
mapbasic nor any experience with it.  Anyone think this would work for my
needs?

Thanks,
Troy
Rural/Metro Fire Dept.


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



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

Reply via email to