unit frmBreakpointConditionUnit; {$mode delphi} interface uses Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls; type { TfrmBreakpointCondition } TfrmBreakpointCondition = class(TForm) Button1: TButton; Button2: TButton; edtEasy: TEdit; Label1: TLabel; Label2: TLabel; mComplex: TMemo; PageControl1: TPageControl; rbEasy: TRadioButton; rbComplex: TRadioButton; TabSheet1: TTabSheet; TabSheet2: TTabSheet; procedure FormCreate(Sender: TObject); procedure rbEasyChange(Sender: TObject); private { private declarations } public { public declarations } end; implementation { TfrmBreakpointCondition } procedure TfrmBreakpointCondition.FormCreate(Sender: TObject); var i: integer; begin for i:=0 to pagecontrol1.PageCount-1 do pagecontrol1.Pages[i].TabVisible:=false; end; procedure TfrmBreakpointCondition.rbEasyChange(Sender: TObject); begin if rbEasy.checked then pagecontrol1.ActivePageIndex:=0 else pagecontrol1.ActivePageIndex:=1; end; initialization {$I frmBreakpointConditionUnit.lrs} end.