Title: Message
No!  sorry not to be clear on this.  The progress bars aren't displaying, however, this process (as shown in my code) takes longer than if I did the same tasks manually.
 
Furthermore, if I bring another program window into focus over MI, the process in my example either stops (as indicated in the first part of this thread) or slows down even more.
 
Dave
 
-----Original Message-----
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 11:26 AM
To: David Reid; [email protected]
Subject: RE: [MI-L] Mapbasic stops when window is no longer active

David
 
You imply that at some point during the execution Progress Bars are displaying?
 
At which point?
 
ta


From: David Reid [mailto:[EMAIL PROTECTED]
Sent: 30 March 2006 18:19
To: Simon Allen; [email protected]
Subject: RE: [MI-L] Mapbasic stops when window is no longer active

I'm glad this came back up.  I was unclear about something in th Mapbasic UG and Ref guide.
 
Are there certain commands that will cause ProgressBars to automatically be re-enstated without issueing "Set ProgressBars On"?
 
For instance, if I "Set Progressbars Off", can a "Commit Table" command reset or turn "Set ProgressBars Off" back to "On"?
 
For example, here's a snippet of an MB I use to refresh a table I regularly "re"geocode, of about 40k records.
 
In order to try and speed up the process, I've set progressbars off, redraw off and drop the index on any indexed fields:
 
  Set Progressbars Off
  Set map redraw off
    drop index MYTABLE (FIELD1)
    drop index MYTABLE (FIELD2)
    drop index MYTABLE (FIELD3)
    ' The following line deletes the graphic objects in the selection 
    Delete Object From MYTABLE
    ' The following line Saves the table
    Commit Table MYTABLE
    ' The following line packs both graphics and data of the table
    Pack Table MYTABLE Graphic Data
    'The following lines rebuilds the index of the specified columns
    Create Index On MYTABLE (FIELD1)
    Create Index On MYTABLE (FIELD2)
    Create Index On MYTABLE (FIELD3)
  Set map redraw On
  Set Progressbars On
 
So, is the "Commit" or "Pack table" statements turning progress bars back on?
 
The above takes far more time programattically than manually and requires me to nurse Mapinfo the whole time by keeping it in front.
 
Thanks,
David Reid 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Allen
Sent: Thursday, March 30, 2006 10:17 AM
To: [email protected]
Subject: RE: [MI-L] Mapbasic stops when window is no longer active

Hi Joe
 
Submitted a similar request myself recently . You need to disable Progress Bars: with "Set ProgressBars Off".
 
Ta


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Nunn
Sent: 30 March 2006 16:30
To: [email protected]
Subject: [MI-L] Mapbasic stops when window is no longer active

Dear All,

 

I am sure this has been asked before but here goes… I have program that runs fine, but when I start using another program (ie move the active window) mapinfo appears to halt. When I make the mapinfo window active again it continues to process files.  Any ideas how to make it run while using another application?

 

Joe Nunn

 

The XYZ Digital Map Company

Unit 9 Phase 2 Hardengreen Business Park

Dalhousie Road

Dalkeith, EH22 3NX

Scotland

 

Tel: +44 131 454 0426

Fax: +44 131 454 0443

E-mail: [EMAIL PROTECTED]

 

Web: www.xyzmaps.com

 

********************************************************************** This email and any files transmitted with it from South Gloucestershire Council are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the South Gloucestershire Council Postmaster at the address below. This footnote also confirms that this email message has been swept for the presence of computer viruses. [EMAIL PROTECTED] **********************************************************************

--

Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/298 - Release Date: 03/30/2006


--
Outgoing mail is certified Virus Free
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/298 - Release Date: 03/30/2006

********************************************************************** This email and any files transmitted with it from South Gloucestershire Council are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the South Gloucestershire Council Postmaster at the address below. This footnote also confirms that this email message has been swept for the presence of computer viruses. [EMAIL PROTECTED] **********************************************************************

--

Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/298 - Release Date: 03/30/2006


--
Outgoing mail is certified Virus Free
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/298 - Release Date: 03/30/2006

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to