mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 18:29:26 +02:00
49 lines
772 B
ObjectPascal
49 lines
772 B
ObjectPascal
unit GotoFrm;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, FileUtil, LResources, 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
|
|
|
|
{ TfrmGoto }
|
|
|
|
constructor TfrmGoto.Create(AOwner: TComponent);
|
|
begin
|
|
inherited Create(AOwner);
|
|
|
|
Caption := lisMenuGotoLine;
|
|
Label1.Caption := lisUEGotoLine;
|
|
Edit1.Caption := '';
|
|
end;
|
|
|
|
procedure TfrmGoto.DoShow;
|
|
begin
|
|
Edit1.SelectAll;
|
|
Edit1.SetFocus;
|
|
inherited DoShow;
|
|
end;
|
|
|
|
initialization
|
|
{$I gotofrm.lrs}
|
|
|
|
end.
|
|
|