mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 07:29:30 +02:00
LCL: better solution for TToggleBox color, ParentColor is by default false and not published so it behaves same as TButton. issue #22887
git-svn-id: trunk@38698 -
This commit is contained in:
parent
86d412a962
commit
a6468d6f2e
@ -33,6 +33,7 @@ begin
|
||||
inherited Create(TheOwner);
|
||||
fCompStyle := csToggleBox;
|
||||
TabStop := True;
|
||||
ParentColor := False;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
|
@ -1291,6 +1291,7 @@ type
|
||||
protected
|
||||
class procedure WSRegisterClass; override;
|
||||
procedure CreateParams(var Params: TCreateParams); override;
|
||||
property ParentColor default false;
|
||||
public
|
||||
constructor Create(TheOwner: TComponent); override;
|
||||
published
|
||||
@ -1323,7 +1324,6 @@ type
|
||||
property OnMouseUp;
|
||||
property OnStartDrag;
|
||||
property ParentBidiMode;
|
||||
property ParentColor;
|
||||
property ParentFont;
|
||||
property ParentShowHint;
|
||||
property PopupMenu;
|
||||
|
Loading…
Reference in New Issue
Block a user