mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 04:19:19 +02:00
IPro: use IDEIntf resource strings for design-time package
git-svn-id: trunk@63351 -
This commit is contained in:
parent
104465304f
commit
42b490a925
@ -17,7 +17,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, Forms, Graphics, Controls, Dialogs, ExtCtrls, Menus,
|
||||
IpMsg, Ipfilebroker, IpHtml, IDEHelpIntf, LazHelpIntf, LazIDEIntf;
|
||||
IpMsg, Ipfilebroker, IpHtml, IDEHelpIntf, LazHelpIntf, LazIDEIntf, ObjInspStrConsts;
|
||||
|
||||
type
|
||||
TLazIPHtmlControl = class;
|
||||
@ -86,10 +86,6 @@ procedure Register;
|
||||
|
||||
implementation
|
||||
|
||||
resourcestring
|
||||
ipdCopy = '&Copy';
|
||||
ipdSelectAll = 'Select &all';
|
||||
|
||||
procedure Register;
|
||||
begin
|
||||
CreateIDEHTMLControl:=@IPCreateLazIDEHTMLControl;
|
||||
@ -142,13 +138,13 @@ begin
|
||||
AutoPopup := True;
|
||||
|
||||
FCopy := TMenuItem.Create(Owner);
|
||||
FCopy.Caption := ipdCopy;
|
||||
FCopy.Caption := oiStdActEditCopyHeadLine;
|
||||
FCopy.ShortCut := ShortCut(ord('C'), [ssCtrl]);
|
||||
FCopy.OnClick := @DoCopy;
|
||||
Items.Add(FCopy);
|
||||
|
||||
FSelectAll := TMenuItem.Create(Owner);
|
||||
FSelectAll.Caption := ipdSelectAll;
|
||||
FSelectAll.Caption := oiStdActEditSelectAllHeadLine;
|
||||
FSelectAll.ShortCut := ShortCut(ord('A'), [ssCtrl]);
|
||||
FSelectAll.OnClick := @DoSelectAll;
|
||||
Items.Add(FSelectAll);
|
||||
|
Loading…
Reference in New Issue
Block a user