NumWindows() gives you the total number of windows so you can cycle through them using small integers as IDs. WindowId() gives you the real Windows ID of the window, and Set Window n Front gives window id n the focus.
-- - Bill Thoen ------------------------------------------------------------ GISnet, 1401 Walnut St., Suite C, Boulder, CO 80302 tel: 303-786-9961, fax: 303-443-4856 http://www.gisnet.com/ ------------------------------------------------------------ "Barsukoff, Vera" wrote: > Help!! > I need to create a tool that would start with one map window, run some > code, switch to the next window, run other code... through 8 map > windows, all named differently, then go to the layout window. > > I have the code to switch to the layout window but don't know how to get > it to switch among the map windows. Is MapBasic capable of switching > through the map windows? > Thanks for any help. --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 7729
