Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 01.01.06 17:51 
hallo,

gibt es für radiobuttons eine eigenschaft die analog zu GroupIndex von speebuttons ist?
Ich habe 4 radiobuttons udn da sollen immer zwei ausgewählt sein, dass heißt ich will die vier in zwei gruppen aufteilen die alle unabhängig von einander sein. Ich glaub ich hatte sie schon mal aber ichfind sie im oi nich

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: So 01.01.06 19:08 
geht nur mit 2x TRadioGroup sonst würde das konzept der radiobuttons auch nicht durchgängig sinn machen.

gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: So 01.01.06 23:24 
user profile iconalias5000 hat folgendes geschrieben:
geht nur mit 2x TRadioGroup

Es geht auch, wenn man die verschiedenen RadioButtons, von denen immer nur einer angewählt sein darf auf ein Panel, eine GroupBox, ... solche Container eben legt :P

Aber wenn in so einem Container nur die RadioButtons drin sind, dann sind RadioGroups besser.
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 02.01.06 12:41 
Stimmt hatte ich vergessen, allerdings würde ich die RadioGroups vorziehen, damit dem User auch sofort klar ist, was mit wem zusammenhängt.

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN