You've already forked lazarus-ccr
48 lines
623 B
ObjectPascal
48 lines
623 B
ObjectPascal
![]() |
unit JvCheckBoxDemoUnit;
|
||
|
|
||
|
{$mode objfpc}{$H+}
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls,
|
||
|
JvCheckBox;
|
||
|
|
||
|
type
|
||
|
|
||
|
{ TForm1 }
|
||
|
|
||
|
TForm1 = class(TForm)
|
||
|
Button1: TButton;
|
||
|
Button2: TButton;
|
||
|
ComboBox1: TComboBox;
|
||
|
Edit1: TEdit;
|
||
|
JvCheckBox1: TJvCheckBox;
|
||
|
Label1: TLabel;
|
||
|
ListBox1: TListBox;
|
||
|
Memo1: TMemo;
|
||
|
Panel1: TPanel;
|
||
|
procedure Button2Click(Sender: TObject);
|
||
|
private
|
||
|
|
||
|
public
|
||
|
|
||
|
end;
|
||
|
|
||
|
var
|
||
|
Form1: TForm1;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
{$R *.lfm}
|
||
|
|
||
|
{ TForm1 }
|
||
|
|
||
|
procedure TForm1.Button2Click(Sender: TObject);
|
||
|
begin
|
||
|
JvCheckbox1.Toggle;
|
||
|
end;
|
||
|
|
||
|
end.
|
||
|
|