ginsonic
asked on
Kill focus rectangle on RadioButton
Exactly what I say in the title. I don't wish to show a dotted rectangle on RadioButton caption. How to stop it ?
MikeLittleWood meant something like this
procedure TForm1.RadioButton1Enter(S ender: TObject);
begin
RadioButton1.Checked:=not RadioButton1.Checked;
Button1.SetFocus;
end;
procedure TForm1.RadioButton1Enter(S
begin
RadioButton1.Checked:=not RadioButton1.Checked;
Button1.SetFocus;
end;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I meant remove the radiobutton's caption, not the label's, if you were confused.
SomeComponent.SetFocus;
If you select a radio button manually, you will see the rectangle as you change focus