📄 createdesignerdsgn.pas
字号:
unit CreateDesignerDsgn;
interface
uses
DesignIntf, DesignEditors,
Classes, CreateDesigner, CreateDesignerEditor;
type
TFormDesignerEditor = class(TComponentEditor)
function GetVerbCount: Integer; override;
function GetVerb(Index: Integer): string; override;
procedure ExecuteVerb(Index: Integer); override;
end;
implementation
function TFormDesignerEditor.GetVerbCount: Integer;
begin
Result:=1;
end;
function TFormDesignerEditor.GetVerb(Index: Integer): string;
begin
Result:='Control &lists editor...';
end;
procedure TFormDesignerEditor.ExecuteVerb(Index: Integer);
begin
if EditLists(Component as TCustomFormDesigner,ltLocked) then Designer.Modified;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -