Type
TRadioGroup=class(extctrls.TRadioGroup)
public
constructor Create(AOwner: TComponent); override;
procedure Click; override;
end;
TForm1=class(TForm)
...
rg1:TRadioGroup
...
public
...
end;
implementation
procedure TRadioGroup.Click;
begin
inherited;
(Owner As TForm).ActiveControl:=nil;
end;
constructor TRadioGroup.Create(AOwner: TComponent);
begin
inherited;
TabStop:=False;
end;
|