Dear MapBasic Gurus:
 
Do you know if it is possible to use a template (thm file) of a legend when adding a layer to a map in MapBasic?
 
When I use the template to generate the thematic layer in MapInfo, I don�t see any reference to the thm file in the MapBasic Window, I see that MapInfo sets the different values of the legend explicitly (I suppose he knows the values of the parameters "reading" in some way the .thm file). But I need the actual parameters of a legend out of my code because the user must be able to reconfigure the legend, and my program should read the new configuration without re-coding.
 
The idea is to use a pre-configured legend (which could be re-configured by the user) when adding a layer to a map (In ArcView this can be done through ".avl" files, specifying in the code "use file x.avl for the legend of x layer", and when the user change the x.avl file, the code for applying this legend works without any change).
 
Thanks very much.
 
Miguel Cereceda

Reply via email to