Alex - 

The MapBasic help says this - 

"Tip: Setting the Workspace property is the first step to using the MIMapGen
object. MIMapGen is designed to work in situations where there is a single
map window (e.g. when a web page shows a single map). To begin using
MIMapGen, set the Workspace property, so that MapInfo loads a workspace --
typically, a workspace that contains a single Map window. Then you will be
able to use the other methods and properties to manipulate the Map window".

Which sounds like using the MapGen automation model isn't going to help you
very much - but you should still be able to get at what you need through
standard automation - have an additional object set to be your running
instance of MapInfo, set an object to be the MapGen that belongs to it. If
this doesn't work its not as if the MapGen model is so big - you could mimic
it with your own procedures using Do and Eval (which is pretty much what
I've ended up doing over the years)

HTH


Paul Crisp
Syntegra

Direct:  0191 461 4522 
Mobile: 0776 414 3762
Fax: (0191) 461 1959

Innovation Place Metro Riverside Park
Delta Bank Road Gateshead Tyne & Wear NE11 9DJ


-----Original Message-----
From: Alex [mailto:[EMAIL PROTECTED]]
Sent: 12 March 2002 14:25
To: [EMAIL PROTECTED]
Subject: MI-L Selecting active window with ProServer


How do I choose a window as the default window for MapGen to operate on
after opening a workspace via MapGen.

Actually, I guess I need to do this before I open the workspace
(MapGen.OpenWorkspace()) because if the last window activated in the
workspace when it was saved is a browser, it can't even open the workspace.




_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.


********************************************************************

This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.syntegra.com

********************************************************************



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to