mdwizard.pas
来自「delphi6 programming example」· PAS 代码 · 共 44 行
PAS
44 行
unit MdWizard;
interface
uses
ExptIntf, Windows;
type
TMdExpert = class (TIExpert)
public
function GetStyle: TExpertStyle; override;
function GetName: string; override;
function GetAuthor: string; override;
function GetComment: string; override;
function GetPage: string; override;
function GetGlyph: HICON; override;
function GetState: TExpertState; override;
function GetIDString: string; override;
function GetMenuText: string; override;
procedure Execute; override;
end;
procedure Register;
implementation
uses
Dialogs, ToolIntf, SysUtils;
function TMdExpert.GetStyle: TExpertStyle;
begin
// show up in the Help menu
Result := esStandard;
end;
function TMdExpert.GetName: String;
begin
// official name
Result := 'MDWizard'
end;
function TMdExpert.GetAuthor: string;
begin
Result := 'Marco Cant
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?