Delphi Open Tools Api实例研究(一)[16]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 hkbarton 的 blog

 curentmoudle:=module.currentmodule;

 //使用iotamoduleservicescurrentmodule方法得到当前打开的工程模块

 if curentmoudle=nil then

 begin

  messagebox(idehandle,'当前没有打开项目文件','hktest',mb_iconinformation);

  exit;

 end;

 //遍历已打开工程中所有的文件

 for i:=0 to curentmoudle.modulefilecount-1 do

 begin

  intfeditor:=curentmoudle.modulefileeditors[i];

本文关键:OTA,Delphi,接口
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top