mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 07:29:59 +02:00
added resourcestrings of LCL component to constructor
git-svn-id: trunk@16997 -
This commit is contained in:
parent
1fec8e9baf
commit
706b297bba
@ -20,7 +20,7 @@ interface
|
||||
|
||||
uses
|
||||
Buttons, Classes, LCLProc, Controls, Dialogs, ExtCtrls, Forms, Graphics,
|
||||
GraphType, LCLType, SysUtils;
|
||||
GraphType, LCLType, SysUtils, LCLStrConsts;
|
||||
|
||||
type
|
||||
TButtonOrder = (boDefault, boCloseCancelOK, boCloseOKCancel);
|
||||
@ -401,6 +401,7 @@ begin
|
||||
BorderSpacing.Around := 6;
|
||||
AutoSize := True;
|
||||
Align := alRight;
|
||||
Caption := rsMbCancel;
|
||||
end;
|
||||
FCloseButton := TPanelBitBtn.Create(Self);
|
||||
with FCloseButton do
|
||||
@ -411,6 +412,7 @@ begin
|
||||
BorderSpacing.Around := 6;
|
||||
AutoSize := True;
|
||||
Align := alRight;
|
||||
Caption := rsMbClose;
|
||||
end;
|
||||
FHelpButton := TPanelBitBtn.Create(Self);
|
||||
with FHelpButton do
|
||||
@ -421,6 +423,7 @@ begin
|
||||
BorderSpacing.Around := 6;
|
||||
AutoSize := True;
|
||||
Align := alLeft;
|
||||
Caption := rsMbHelp;
|
||||
end;
|
||||
FOKButton := TPanelBitBtn.Create(Self);
|
||||
with FOKButton do
|
||||
@ -431,6 +434,7 @@ begin
|
||||
BorderSpacing.Around := 6;
|
||||
AutoSize := True;
|
||||
Align := alRight;
|
||||
Caption := rsMbOK;
|
||||
end;
|
||||
|
||||
FCancelGlyph := TBitmap.Create;
|
||||
|
Loading…
Reference in New Issue
Block a user