S
sjw74
Unregistered / Unconfirmed
GUEST, unregistred user!
各位大虾,哪位用过MapX,请帮帮小弟;在此先谢了。
程序代码如下:
procedure Form1.OKButtonClick(Sender: TObject);
var path, fileName : String;
empty: Variant;
begin
try
path := pathEdit.Text;
fileName := nameEdit.Text;
Map1.Layers.CreateLayer(fileName,path + '/' + fileName, 1, empty, empty);
except on E:Exception Do showMessage('File Creation Failed...');
end;
end;
点击按钮程序执行,总是出现‘CoordSys 对象无效’;请问何解????
程序代码如下:
procedure Form1.OKButtonClick(Sender: TObject);
var path, fileName : String;
empty: Variant;
begin
try
path := pathEdit.Text;
fileName := nameEdit.Text;
Map1.Layers.CreateLayer(fileName,path + '/' + fileName, 1, empty, empty);
except on E:Exception Do showMessage('File Creation Failed...');
end;
end;
点击按钮程序执行,总是出现‘CoordSys 对象无效’;请问何解????