t; Sent: Monday, August 14, 2000 6:10 PM
> To: [EMAIL PROTECTED]
> Subject: MI LAYER_INFO_NAME and ObjectInfo
>
>
>
> What is wrong with this code:
>
> Include "MapBasic.Def"
>
> Dim szLayerName As String
> szLayerName = LayerInfo(FrontWindow(), 1, LAYER_INFO_NA
igine-
De : Eric Frost / HR and Associates, Inc.
[mailto:[EMAIL PROTECTED]]
Envoyé : 14 août, 2000 13:09
À : [EMAIL PROTECTED]
Objet : MI LAYER_INFO_NAME and ObjectInfo
What is wrong with this code:
Include "MapBasic.Def"
Dim szLayerName As String
szLayerName = LayerInfo(FrontWindow(
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 as