I have a string variable, (LastView), which contains the MB code to create a
Layout window.

Is there a way to extract this data to use in a layout command?

I want to create a layout the same as the last one opened.

****************************************************************
If WindowInfo(FrontWindow(),WIN_INFO_TYPE) = WIN_LAYOUT then
LastView = WindowInfo(FrontWindow(),WIN_INFO_CLONEWINDOW)
end if

Layout 
LastView

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

LastView contains the following data:


Layout
  Position (4.69792,2.13542) Units "in"
  Width 5.29167 Units "in" Height 3.09375 Units "in" Min
  Set CoordSys Layout Units "in"
  Create Frame (1.9188,1.3042) (41.9188,27.5604)
    Pen (1,2,0) 
    Brush (2,16777215,16777215)
    Title "Complying Development"
    FillFrame On
  Create Text
    "LEGEND - SOURCE OF DATA"
    (37.059,27.8069) (40.7292,28.1)
    Font ("Bookman Old Style",7,18,0)

  Create Line (37.0896,28.4243) (37.8528,28.4243)
    Pen (3,2,16711935) 
  Create Text
    "No Information available,\nor follows 10 m Contour Line"
    (37.9764,28.2028) (40.6479,28.6792)
    Font ("Bookman Old Style",2,14,0)
etc...


TIA for any isight into my pob.

Scott
[EMAIL PROTECTED]
<mailto:[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]

Reply via email to