lazarus/docs/xml/lcl/stdctrls/tcustomcheckbox_allowgrayed.pas
vincents bfaaefd126 span comment over mulitple lines
git-svn-id: trunk@9002 -
2006-03-23 09:48:36 +00:00

9 lines
327 B
ObjectPascal

{ This example uses a check box on a form. When the application runs,
the check box is initially checked. When the user clicks it,
the check box is unchecked. Clicking it again grays the check box. }
procedure TForm1.FormCreate(Sender: TObject);
begin
Checkbox1.AllowGrayed := True;
Checkbox1.State := cbChecked;
end;