Autor Beitrag
steppenwolf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mo 08.03.04 12:16 
Hallo allerseits,

ich möchte (ähnlich wie bspw. bei einem Kassettenrecorder) eine Gruppe von bspw. Buttons so definieren, daß beim Druck auf eine "Taste" diese eingerastet wird und die andere dafür deaktiviert (ausgerastet) wird. Leider finde ich in den Buttonproperties keinen entsprechenden Wert oder habe ich etwas übersehen?

Vielen Dank im Voraus und auf bald ...
steppenwolf.
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Mo 08.03.04 12:55 
Hallo,

nimm SpeedButtons und setzte für alle den selben GroupIndex. Dann kann immer nur einer gedrückt sein. Über die Eigenschaft Down kannst du abfragen, ob ein Button gedrückt ist.

MFG

- Ernesto -
steppenwolf Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mo 08.03.04 17:19 
Hallo,

vielen Dank, das hat funktioniert!

Auf bald ...
steppenwolf.