Hi Kingsley, As far as understand it, MI Pro doesn't have one (unique) legend window but several. One for each mapper in fact. The GUI "cheats" us to believe there's only one. Only way to reference the real legend windows I know is to use the title of the window, e.g. "Legend of This,Thas,Those Map" (which by the way is language dependent). The WindowID(WIN_LEGEND) reference is of no use, unfortunately. Regards Lars Nielsen ********************************************************** Lars Nielsen [EMAIL PROTECTED] Development Manager, Special Products Contact Kampsax Geoplan Odense http://www.mapinfo.dk Authorized MapInfo Distributor in Denmark & Norway Address: Rugaardsvej 55, DK-5000 Odense C Telephone: +45 6313-5000 Facsimile +45 6313-5090 ********************************************************** Kingsley Gum <[EMAIL PROTECTED]> on 10-06-99 19:19:16 To: [EMAIL PROTECTED] cc: Subject: MI MB - Legend in Layout
Would someone please let me know why the following reference to the legend window does not work. This code creates the frame in the Layout but does not insert the legend in the frame which remains empty with 'No Window'. Similar code for a map window works fine. legend_id = WindowID(WIN_LEGEND) Create Frame (20,160) (60,260) >From Window legend_id FillFrame On TIA Kingsley K Gum Senior Research Assistant Australian Housing and Urban Research Institute Queensland University of Technology Ph: (07) 3864 1750 Fax: (07) 3864 1827 Email: [EMAIL PROTECTED] ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
