Lisa,

Frames are basically objects in the default table for the layout
window. The only way I know to get at them is via their rowid, so
as you put them on the layout keep track of their row id number.
Then you can delete any one you want with a command like:

delete from WindowInfo(FrontWindow(), WIN_INFO_TABLE) where rowid
= 2

(assuming your layout window has the focus, and the frame you
want to zap is the second object in that table. Deleted rows
count too, so your frame in row #3 is still in #3 after this last
statement.)

- Bill Thoen

Lisa C Pearson wrote:
> 
> Hi guys,
> 
> I have a basic question concerning MapBasic3.0.  Yes, I did say MapBasic
> 3.0. Is there a command to delete/kill a frame?
> 
> Lisa
> 
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [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