⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testoleparams.out

📁 格式化源码的最新板
💻 OUT
字号:
unit TestOleParams;

{ AFS 11 July 2003
 This unit compiles but is not semantically meaningfull
 it is test cases for the code formatting utility
}

interface

implementation

uses ComObj;

procedure WordUp;
var
  MSWord: variant;
begin
  MsWord := CreateOleObject('Word.Basic');

  MsWord.AppShow;
  MSWord.FileNew;
  MSWord.Insert('Foo');
  MSWord.LineUp(2, 1);

  { Ack! }
  MSWord.TextToTable(ConvertFrom := 2, NumColumns := 3);
end;

procedure W_App;
var
  WordApp: variant;
begin
  WordApp := CreateOleObject('Word.Application');
  WordApp.Documents.Open('foo', , , , 'bar');
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -