Office:  Dallas     Division:   SRS



I need some help.  I am trying to write some MapBasic code to automatically
add  frames to a cartographic legend where the layer is a thematic only.
The following is what I have come up with, but doesn't work.  Any
suggestions would be appreciated.

For i = 1 to LayerCount
     LayerType = layerinfo(WinID_1,1+i,layer_info_type)
     If LayerType = Layer_info_type_thematic then
     Add Cartographic Frame
     From Window Win_ID1
     Custom
     Frame From Layer LayerCount-i
     Position (8,yVal+1) Units "in"
     Border Pen (0,1,0)
     End If
next


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to