Autor Beitrag
LeVoS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33



BeitragVerfasst: So 08.08.04 17:57 
Ich benötige eine "erweiterte" Radiogroup mit einer Shape Komponente für eine farbliche Darstellung der ausgewählten Buttons ...
Nun ist die Frage, ob ich entweder in eine Radiogroup noch zusätzlich hinter oder vor den Buttons eine Shape Komponente einfügen kann oder ob ich die Buttons in einer Extra-Box generieren muß ???
Wenn ja - wie kann man das dynamisch und wie kann ich darauf zugreifen ???
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: So 08.08.04 18:03 
Irgendwie verstehe ich die Frage nicht. RadioButtons kannst du dynamisch erstellen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
var RB:TRadioButton;

implementation
{...}
begin
 RB:=TRadioButton.Create;
 with RB do begin
  Parent:=Self;
  Left:=100;
  Top:=100;
  Caption:='Test';
 end;
end;
{...}
begin
 RB.Caption:='OK';
end;

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
LeVoS Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33



BeitragVerfasst: So 08.08.04 19:24 
Danke Danke - funzt super ... hätte nicht gedacht - das das so einfach ist ....