Hi David,

If using the MapBasic window works for you, you should me able to issue a 

    Run Command "Terminate Application ""myApp.mbx""" 

to achieve the same effect programmatically.

Best regards/Med venlig hilsen
Lars V. Nielsen
GisPro, Denmark
http://www.gispro.dk/
----- Original Message ----- 
From: "David Reid" <[EMAIL PROTECTED]>
To: "'MapInfo-L'" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 8:51 PM
Subject: MI-L End Program or Terminate Application


Having a brain fart here, isn't there a command to terminate or end an MBX
while retaining focus of the Mapinfo Window?

When I call either "End Program" or "Terminate Application", it closes the
mbx as it should, but I also loose focus of the Mapinfo Window and whatever
else is running takes focus (ie Excel or Ultra Edit or Outlook is brought to
focus over Mapinfo)

If I issue a "Terminate Application" in the Mapbasic Window, MI retains
focus.

Thanks for any help,
David Reid

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 10/29/2004
 


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



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

Reply via email to