It's better to create the layout each time, unless you can
identify the frames by their row number, size or position. A
layout behaves like a table without attributes. You get the table
name with the WindowInfo() function, and each object has a row
position and a type, which can be examined with ObjectInfo(),
etc.  Unfortunately, there is no FrameInfo() function, and that's
a pity, because that means you can't examine attributes
specifically associated with frames.  Oh yeah, and when working
with layouts, don't forget to "set coordsys layout"!

- Bill Thoen

> Ian Garner wrote:
> 
> Hi all
> 
> My problem is that I have a layout with two frames, in one
> frame I want to put a map and in the other a logo.  This has to
> be done using code, i.e. not by double clicking the frame.  I
> was wondering is there any way other than co-ordinates to tell
> the frames such as an ID for each.  Or would it be better to
> recreate the workspace each time.
> 
> Thanks
> Ian
> 
>
----------------------------------------------------------------------
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