Hi,
Can anybody help with a little MapBasic problem? I would like to find the layer_id (integer value) of the last added layer. As part of the Set Legend statement you can define "Layer Prev" as the layer to create the Legend from. Is there a way to return "Layer Prev" as a value to put into a variable or an easy alternative way to find the value of the last added layer? Thanks in advance for your help. Steve ============================================================================== NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing, copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. ==============================================================================
