In MapBasic, there is a "labelfindbyId()" function that returns true if the
object on the given rowid (one of the parameters of the function)
corresponds to the question asked: "Has the object a label" or "has the
object no label" (another parameter for the function). To be able to select
the not-labelled objects in the first layer of frontwindow() then

Select * from testmrcQ1 where labelfindbyid(frontwindow(),1,rowid,"",0) into
Selection

In this example, "testmrcQ1" is the name of the table which is the first
layer (first number after frontwindow()) the second number is 0 if you want
to find objects that are not labeled, 1 for labeled objects.

Good luck

Jacques

Jacques PARIS

e-mail  (>>>19.12.00)  [EMAIL PROTECTED]

For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

For MapBasic questions see the J.Paris site at
http://www.total.net/~jakesp/index.htm

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kjartan Greiff
Selnes
Sent: January 16, 2001 9:06 AM
To: Mailingliste Mapinfo
Subject: MI-L select lines with visible Labels

Hi All

Are there a way to select line-objects with visible lables.
After setting AutoLabel on and no duplicate or overlapping TEXT in the
Label-control, i would like to select the objects that actually shows
Labels..

Any tip would be appriciated


Kjartan Greiff Selnes



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to