RE: MI LAYER_INFO_NAME and ObjectInfo

2000-08-14 Thread Warren Vick, Europa Technologies Ltd.
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

Re: MI LAYER_INFO_NAME and ObjectInfo

2000-08-14 Thread Eric Frost / HR and Associates, Inc.
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(

MI LAYER_INFO_NAME and ObjectInfo

2000-08-14 Thread Eric Frost / HR and Associates, Inc.
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