📄 history.pas
字号:
unit History;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
THistoryForm = class(TForm)
HistoryListBox: TListBox;
procedure HistoryListBoxDblClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
HistoryForm: THistoryForm;
implementation
uses main;
{$R *.DFM}
procedure THistoryForm.HistoryListBoxDblClick(Sender: TObject);
Var URL : String;
begin
if HistoryListBox.ItemIndex <> -1 then begin
URL := HistoryListBox.Items[HistoryListBox.ItemIndex];
with main.MainForm do begin
HTML1.RequestDoc(URL);
Statusbar1.Panels[0].Text := HTML1.RequestURL;
end;
end;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -