首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

C++换成delphi代码解决办法

2012-02-29 
C++换成delphi代码ExcelApp.OlePropertyGet(CommandBars).OlePropertyGet(Item,Standard).OleProper

C++换成delphi代码
ExcelApp.OlePropertyGet("CommandBars").OlePropertyGet("Item","Standard").OlePropertyGet("Controls").OlePropertyGet("Item","复制(&c)").OlePropertySet("Enabled",false);  
  


[解决办法]
ExcelApp.OlePropertyGet("CommandBars").OlePropertyGet("Item","Standard").OlePropertyGet("Controls").OlePropertyGet("Item","复制(&c)").OlePropertySet("Enabled",false);
 =============
ExcelApp.CommandBars.Item['Standard'].Controls.Item['复制(&C)'].Enabled := false;

热点排行