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

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;