Although not exposed in the user interface, there is a MapBasic command that will limit the clearing of custom labels to a particular layer. You don't have to lose all your edits for the entire map.
The syntax is: Set Map Layer <name or number> Label Default As to the logic behind the other behaviors noted: Editing labels or creating them manually creates an override for that label to the settings for the layer. However, these overrides are designed to be fairly flexible. For example, moving a label changes its location. The layer control changes for font style, for example, or even the label expression will still apply. Layer control changes that affect the location will not affect this particular label. There are two ways of turning off the display of labels. The check box in the layer control dialog turns off the display of dynamic labels but not that of edited labels. The setting in the label sub-dialog for Visibility (On/Off, within Range) controls all labels. This was primarily done so that dynamic labels could be turned off and the manual label tool would still work! Both of these turn off the display but do not affect settings. These two settings are equivalent to the MapBasic settings Set Map Layer <name or number> Label Auto and Set Map Layer Label Visibility (on/off. zoom...) respectively. Edited (or Custom ) labels are remembered until that layer is removed. Their settings can be saved in a workspace Deleting a label is making a custom label edit that turns off it's visibility (Set Map Layer Label Object <num> Visibility off) Therefore, it will not reappear due to any layer label change until custom labels are cleared or you run Set Map Layer Label Object <num> Visibility On! Eric Blasenheim Software Architect MapInfo Corporation _______________________________________________________________________ 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.
