读书人

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

发布时间: 2012-02-29 16:44:11 作者: rapoo

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;

读书人网 >.NET

热点推荐