Home > database >  Mapx add primitive attributes problem?
Mapx add primitive attributes problem?

Time:09-21

A map is added to a layer, how to add to the properties of primitive (name, number, location, IP, etc.), the code I wrote as follows, but lb_dataset=aLayer. DataSets. The Item (1) this sentence error, what reason be? Because of the attribute data another no load? How to load?

//window open code:
Ole_1. Object. Geoset=GetCurrentDirectory () + "\ CSJT GST
"
//cb_1 cilcked events:
Oleobject aLayer, lb_dataset fldsUserLayer
Alayer=Create OleObject
Alayer. ConnectToNewObject (" MapX. Layer. 5 ")
ALayer=ole_1. Object. The layers. The item (' camera ')

Lb_dataset=Create OleObject
Lb_dataset. ConnectToNewObject (" MapX. Dataset. 5 ")
FldsUserLayer=Create OleObject
FldsUserLayer. ConnectToNewObject (" MapX. Fields. 5 ")

Lb_dataset=aLayer. DataSets. The Item (1)
FldsUserLayer=lb_dataset. Fields
.

CodePudding user response:

Does anyone know???????

CodePudding user response:

Please instruct!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1

CodePudding user response:

Never used... This can look for suppliers to ask

CodePudding user response:

Mapinfo, suggest to mapinfo section, this basically is the problem in the mapinfo
  • Related