What is wrong with this code: Include "MapBasic.Def" Dim szLayerName As String szLayerName = LayerInfo(FrontWindow(), 1, LAYER_INFO_NAME) Fetch First From szLayerName Dim obj_type As Integer obj_type = ObjectInfo(szLayerName.obj, OBJ_INFO_TYPE) I have tried all sorts of work-arounds like assigning the object to an object variable and Run Command but have not hit on the solution. Thanks in advance! ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI LAYER_INFO_NAME and ObjectInfo
Eric Frost / HR and Associates, Inc. Mon, 14 Aug 2000 10:41:06 -0700
- RE: MI LAYER_INFO_NAME and ObjectInf... Eric Frost / HR and Associates, Inc.
- RE: MI LAYER_INFO_NAME and Obje... Warren Vick, Europa Technologies Ltd.
- Re: MI LAYER_INFO_NAME and Obje... Eric Frost / HR and Associates, Inc.
