mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 10:39:15 +02:00
LCL, ButtonEdit: formatting
git-svn-id: trunk@44640 -
This commit is contained in:
parent
fd9065da9c
commit
72ebe38661
@ -157,7 +157,6 @@ type
|
||||
procedure DoEditExit(Sender: TObject); virtual;
|
||||
procedure DoEditTextChange(Sender: TObject); virtual;
|
||||
|
||||
|
||||
procedure Loaded; override;
|
||||
procedure SetAutoSize(AValue: Boolean); override;
|
||||
procedure SetColor(AValue: TColor); override;
|
||||
@ -1123,7 +1122,6 @@ begin
|
||||
Result := '';
|
||||
end;
|
||||
|
||||
|
||||
procedure TCustomButtonEdit.SetCharCase(AValue: TEditCharCase);
|
||||
begin
|
||||
FEdit.CharCase := AValue;
|
||||
@ -1192,7 +1190,6 @@ begin
|
||||
FEdit.PasswordChar := AValue;
|
||||
end;
|
||||
|
||||
|
||||
procedure TCustomButtonEdit.SetPopupMenu(AValue: TPopupMenu);
|
||||
begin
|
||||
FEdit.PopupMenu := AValue;
|
||||
@ -1203,7 +1200,6 @@ begin
|
||||
FEdit.Text := AValue;
|
||||
end;
|
||||
|
||||
|
||||
function TCustomButtonEdit.CalcButtonVisible: Boolean;
|
||||
begin
|
||||
Result := (csdesigning in ComponentState) or
|
||||
@ -1222,20 +1218,17 @@ begin
|
||||
CheckButtonVisible;
|
||||
end;
|
||||
|
||||
|
||||
procedure TCustomButtonEdit.SetGlyph(AValue: TBitmap);
|
||||
begin
|
||||
FButton.Glyph := AValue;
|
||||
Invalidate;
|
||||
end;
|
||||
|
||||
|
||||
procedure TCustomButtonEdit.SetReadOnly(AValue: Boolean);
|
||||
begin
|
||||
FEdit.ReadOnly := AValue;
|
||||
end;
|
||||
|
||||
|
||||
constructor TCustomButtonEdit.Create(AOwner: TComponent);
|
||||
var
|
||||
B: TBitmap;
|
||||
@ -1251,7 +1244,6 @@ begin
|
||||
with GetControlClassDefaultSize do
|
||||
SetInitialBounds(0, 0, CX, CY);
|
||||
|
||||
|
||||
with FButton do
|
||||
begin
|
||||
Align := alRight;
|
||||
|
Loading…
Reference in New Issue
Block a user