Hi Scott,

The command for solving your problem is :

Run Command LastView

I hope this helps you!

Best regards,

Peter

Peter Moller
[EMAIL PROTECTED]
Kampsax Geoplan, Denmark

******************************
Scott Wrote:

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


----------------------------------------------------------------------
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