Re: MI-L Controlling Thematic Layers

2003-01-23 Thread MikeKilmore
Martin, I like your stepping up and down through the layer list. I will put this into a function, and thematic layer control will much less onerous. Thanks Mike In a message dated 1/22/03 6:54:12 PM Pacific Standard Time, [EMAIL PROTECTED] writes: > The approach is: > 1. Get the layer numb

Re: MI-L Controlling Thematic Layers

2003-01-22 Thread MikeKilmore
>What I did recently was simply to check the layer names in the mapper >immediately before the thematic is added, then check them again immediately >afterwards. The difference must be the new thematic layer, Martin, So, you might run the layers list into array, add the thematic, and run a second

MI-L Controlling Thematic Layers

2003-01-21 Thread MikeKilmore
My app lets users create a canned thematic map layer, and them lets them remove the thematic layer. MapInfo names the first thematic layer created "Dealers(1)". When it is removed, and the Create-Thematic-Layer sub is called again, the layer will be named Dealers(2), and so on. This complicat