The layout can be treated as a table, and the ID you are looking for will then be the ROWID. So you can loop thru all the records in the layout table, check whether they are of type Frame and then store the ROWIDs for these reocrds with other information on the frame, fore instance the width and the height and if the frame allready contain a map window
Peter Horsb�ll M�ller GIS Developer Geographical Information & IT COWI A/S Odensevej 95 DK-5260 Odense S. Denmark Tel +45 6311 4900 Direct +45 6311 4908 Mob +45 5156 1045 Fax +45 6311 4949 E-mail [EMAIL PROTECTED] http://www.cowi.dk -----Original Message----- From: John Polasky [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 2:53 PM To: [EMAIL PROTECTED] Subject: MI-L Layout Frames Hello- Does anyone out there know of a MapBasic call to obtain ID's and information about the individual frames in any given layout? I'm trying to write a program that will automatically populate a layout frame with the contents of a mapper, but I need information about the frame and some sort of ID. Thanks! John The Schwan Food Company --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 12732 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 12733
