Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by toms,
14. Sep 2008
Gibt's bei den Jedis nicht, soviel ich weiß.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by toms,
11. Sep 2008
Andere Möglichkeit, um das Focus Rect auszublenden:
(Achtung: Die Steuerung per Tastatur ist dann nicht mehr vernünftig möglich)
procedure TForm1.RadioButtonEnter(Sender: TObject);
begin
Self.FocusControl(nil);
TRadioButton(Sender).Checked := not TRadioButton(Sender).Checked;
end;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by toms,
11. Sep 2008
Alternative:
TRadiobutton + TLabel verwenden. Wobei der TRadioButton keine Caption hat jedoch der TLabel.
Der RadioButton wird dann noch dem TLabel.FocusControl zugewiesen.
Es könnte natürlich auch eine neue Komponente (TRadiobutton + TLabel) erstellt werden.