八百里加急!!yostgxf在吗?帮帮我!找不到selcection后的.Count,.Item属性(9分)

  • 主题发起人 主题发起人 okgxsh
  • 开始时间 开始时间
O

okgxsh

Unregistered / Unconfirmed
GUEST, unregistred user!
八百里加急!!yostgxf在吗?帮帮我!找不到selcection后的.Count,.Item属性

我把delphi6.0重新卸载,再次安装后,(mapx4.5)卸载前原本一切正常的程序出现

了以下错误!找不到selcection后的.Count,.Item属性

1)If Mapx.Layers.Item(strSearchLayer).Selection.Count = 0 then

出现[error] : undeclared identifier:'count'
Selection后没有count的属性

2)ft:=Frame_map1.mapx.Layers.item(strSearchLayer).Selection.Item(i)
出现[error] : undeclared identifier:'item'
Selection后没有item的属性
 
DelphiFix Readme

There is a problem with MapX 4.0 and Delphi 4.0;
when the control is imported,
Delphi generates an incorrect header file. This program remedies this by
correcting the header file. To use this program:

Step 1: Open Delphi 4.0.
Step 2: Import the Map Control, if you haven't alreadydo
ne so: go to
Component > Import ActiveX Control, select MapInfo MapX V4,
and press the Install button. Select the default package to
install into, which should be Borland User Components.
Step 3: Close Delphi 4.0.
Step 4: Run this program (DelphiFix). If the status window says "Application
Finished Successfully", Delphi and MapX should now work correctly.
 
刚才回来几次都没发出去.
Selection是一个Feature集,好像本来就没有.Count,.Item属性的
Features才有.Count,.Item属性
 
多人接受答案了。
 
后退
顶部