Autor Beitrag
merlin83
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 89

Win 98, Win 2000, SuSE Linux 9.3 Prof
D7 Personal, D2k5 Personal, Kylix
BeitragVerfasst: So 23.01.05 22:20 
Guten Abend!

Ich möchte 4 RadioButtons in meinem Formular unterbringen, von denen immer genau 2 markiert sein müssen. Die 4 Buttons sind in Paare aufgeteilt, also wie bei einem Grafikprogramm: für die Höhe einmal die Auswahl zwischen prozentualer Angabe und absoluter Angabe und dann noch für die Breite das gleiche. Nun will ich aber nicht für jedes Paar eine eigene RadioGroup verwenden, da das nicht so toll aussieht. Also habe ich eine GroupBox genommen und da die 4 RadioButtons untergebracht. Gibt es jetzt eine Lösung dafür, dass ich immer 2 und nicht nur ein einen RadioButton markieren kann ohne zwei RadioGroups zu verwenden?

Viele Dank im Voraus!

Merlin83

_________________
If ProblemExists=True
Then ProblemExists:=False;
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 23.01.05 22:27 
Guck Dir mal TRadioGroup an.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: So 23.01.05 22:31 
merlin83 hat folgendes geschrieben:
[...]dass ich immer 2 und nicht nur ein einen RadioButton markieren kann ohne zwei RadioGroups zu verwenden?

BenBE hat folgendes geschrieben:
Guck Dir mal TRadioGroup an.

:roll:

_________________
Ciao, Sprint.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 23.01.05 22:42 
Gut, überlesen ...

Dann kannst Du nur auf TCheckboxes zurückgreifen, da TRadioButtons immer pro TWinControl behandelt werden.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.