lazarus/ide/gotofrm.pas
2010-04-15 23:50:51 +00:00

48 lines
733 B
ObjectPascal

unit GotoFrm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
StdCtrls, ExtCtrls, Buttons, LazarusIDEStrConsts, LCLType, ButtonPanel;
type
{ TfrmGoto }
TfrmGoto = class(TForm)
ButtonPanel1: TButtonPanel;
Label1: TLabel;
Edit1: TEdit;
public
constructor Create(AOwner: TComponent); override;
procedure DoShow; override;
end;
implementation
{$R *.lfm}
{ TfrmGoto }
constructor TfrmGoto.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
Caption := lisGotoLine;
Label1.Caption := lisUEGotoLine;
Edit1.Caption := '';
end;
procedure TfrmGoto.DoShow;
begin
Edit1.SelectAll;
Edit1.SetFocus;
inherited DoShow;
end;
end.