Show hidden label

306 views
Skip to first unread message

Lumir

unread,
Oct 5, 2012, 6:15:03 AM10/5/12
to MapInfo-L
Hi all

i would like to know how i can show label when i deleted it, in table
exist but not showed in map window...

Lumir

Martin Spiers

unread,
Oct 5, 2012, 6:35:57 AM10/5/12
to mapi...@googlegroups.com
Use the "Show Label" button - the thing which looks like a luggage label - and click on the object whose label you want to show.
--
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.To post a message to this group, send email to mapi...@googlegroups.com To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching archives, feature requests, to visit our Wiki, visit the Welcome page at http://groups.google.com/group/mapinfo-l?hl=en


Disclaimer: This electronic communication and its attachments may contain confidential, proprietary and/or legally privileged information which are for the sole use of the intended recipient. If you are not the intended recipient, any use, distribution, or reproduction of this communication is strictly prohibited and may be unlawful; please contact the sender and delete this communication. MWH does not warrant or make any representation regarding this transmission whatsoever nor does it warrant that it is free from viruses or defects, correct or reliable. MWH is not liable for any loss or damage that occurs as a result of this communication entering your computer network.

The views expressed in this message are not necessarily those of MWH. This communication cannot form a binding agreement unless that is the express intent of the parties and they are authorized to make such an agreement. MWH reserves all intellectual property rights contained in this transmission. MWH reserves the right to monitor any electronic communication sent or received by its employees.This communication may come from a variety of legal entities within or associated with the MWH group.

For a full list of details for these entities please see our website at www.mwhglobal.com. Where business communications relate to the MWH UK Limited entity, the registered office is Terriers House, 201 Amersham Rd, High Wycombe, HP13 5AJ Tel: 01494 526240 and the company is registered in England as registration number 01188070. Where business communications relate to the MWH Constructors Limited entity, the registered office is as above and the company is registered in England as registration number 04635724. Where business communications relate to the MWH Treatment Limited entity, the registered address is as above and the company is registered in England as registration number 01535477

Lumir

unread,
Oct 6, 2012, 3:31:05 PM10/6/12
to MapInfo-L
yes, understand, thank you Martin

On 5. Okt, 12:36 h., Martin Spiers <Martin.A.Spi...@uk.mwhglobal.com>
wrote:

Eric Blasenheim

unread,
Oct 6, 2012, 8:25:10 PM10/6/12
to mapi...@googlegroups.com
There are a couple of ways to approach this each with different results so choose what you need.
 
If you use Martin's idea, you should get your label back but it will still be a custom label. It's location will be based on where you click so if this is a region or polyline it's customization is that it has been moved. That may be fine but just so you know.  Custom labels do have that sensitivity to table packing because the workspace references the rowid. 
 
If getting your label back is the only customization you have done or if you don't mind clearing them, then the Map Menu Item, Clear Custom Labels will get the label back and restore every label to the current layer settings. 
 
If you want to just get this particular label back to automatic  and leave all other customizations, then you need to do a little MapBasic window command or some workspace editing.
In the MapBasic window with your map current, the following command will restore the label.
 

Set Map Layer "LayerName" Label Object "Rowid" Visibility On     

where "LayerName" is the true name of the layer and "Rowid" is the rowId  number of the label. You can find the rowid by using the browser window and selecting the object on the map, you can select the object on the map and in the MapBasic window enter " Fetch first from Selection Print Tablename.rowid"

You can also save the current workspace, open it up in a text editor, remove the offending "Visibility Off" clause, close all and reopen the workspace.

In each of these cases you are getting rid of the customiztion that the label is not to be displayed.

Eric Blasenheim

Pitney Bowes Software

 

 

 

 

 

Lumir

unread,
Oct 11, 2012, 8:41:46 AM10/11/12
to MapInfo-L
Thank you Eric,

Map Menu Item, Clear Custom Labels - working for me super...

Lumir
Reply all
Reply to author
Forward
0 new messages