I asked a question a couple of days ago which was poorly worded and resulted
in the correct response for the question but not what I was after (Thanks
Peter Moller).
This would work for the question asked, but what I really stuffed up in the
question is that the layout I want to create is the one whose data is in the
string variable, as there may have been other layouts created and closed
etc. in between
I have a string variable, (LayView), 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 using the data in the string.
LayView 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...
Sorry about the first question (I was extremely tired when I posted it).
Thanks heaps for any responses to this question.
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]