
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2308 8e941d3f-bd1b-0410-a28a-d453659cc2b4
45 lines
673 B
ObjectPascal
45 lines
673 B
ObjectPascal
unit dlgconfig;
|
|
|
|
{$mode delphi}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
|
StdCtrls, browserconfig;
|
|
|
|
type
|
|
|
|
{ TformConfig }
|
|
|
|
TformConfig = class(TForm)
|
|
btnClose: TButton;
|
|
btnCancel: TButton;
|
|
comboUserAgent: TComboBox;
|
|
Label1: TLabel;
|
|
procedure btnCloseClick(Sender: TObject);
|
|
private
|
|
{ private declarations }
|
|
public
|
|
{ public declarations }
|
|
end;
|
|
|
|
var
|
|
formConfig: TformConfig;
|
|
|
|
implementation
|
|
|
|
{ TformConfig }
|
|
|
|
procedure TformConfig.btnCloseClick(Sender: TObject);
|
|
begin
|
|
FPBrowserConfig.UserAgent := comboUserAgent.Text;
|
|
Close;
|
|
end;
|
|
|
|
initialization
|
|
{$I dlgconfig.lrs}
|
|
|
|
end.
|
|
|