📄 base_listview.~pas
字号:
unit Base_ListView;
interface
uses
SysUtils, Classes, Controls, ComCtrls;
type
TBase_ListView = class(TListView)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
constructor create(Aowner:TComponent);override;
destructor destroy;override;
published
{ Published declarations }
property GridLines;
property ReadOnly;
property RowSelect;
property ViewStyle;
end;
procedure Register;
implementation
procedure Register;
begin
RegisterComponents('Base_Controls', [TBase_ListView]);
end;
constructor TBase_ListView.create(Aowner:TComponent);
begin
inherited create(Aowner);
GridLines:=true;
ReadOnly:=true;
RowSelect:=true;
ViewStyle:=vsReport;
end;
destructor TBase_ListView.destroy;
begin
inherited destroy;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -