lazarus/lcl/include/checkbox.inc
blikblum 4a9091c3a2 lcl: don't publish TRadioButton State and AllowGrayed properties: Delphi compatible.
separate TCustomCheckBox/TCheckBox constructors to avoid double setting of AutoSize/TabStop in TToggleBox/TRadioButton

git-svn-id: trunk@27055 -
2010-08-10 20:12:40 +00:00

34 lines
1.4 KiB
PHP

{%MainUnit ../stdctrls.pp}
{******************************************************************************
checkbox.inc
******************************************************************************
*****************************************************************************
* *
* This file is part of the Lazarus Component Library (LCL) *
* *
* See the file COPYING.modifiedLGPL.txt, included in this distribution, *
* for details about the copyright. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
*****************************************************************************
}
// included by stdctrls.pp
{ TCheckBox }
constructor TCheckBox.Create(TheOwner: TComponent);
begin
inherited Create(TheOwner);
fCompStyle := csCheckbox;
TabStop := True;
AutoSize := True;
//FState := cbUnchecked;
//FAllowGrayed := false;
end;