Hi all,

Hope you had a great holiday season.

I'm back at work for three days and stuck already!

I would like to know how to delete a text object from a layout if it has a
certain value.

I have checked out the archives and picked up some hints but am still
struggling.

Below is what I have been trying to no avail.

****************************************************************************
*********
Dim LayoutTab,Text As String

LayoutTab = WindowInfo(FrontWindow(), Win_info_table)
Text = "Akolele"

Select * From LayoutTab Where ObjectInfo(Selection.obj, OBJ_INFO_TEXTSTRING)
= Text
Delete From Selection

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


I think I'm on the right track but not entirely sure.

Please Help

TIA

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