![]() |
speedButton GroupIndex problem ?
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo,
ich habe 3 Speedbuttons alle sind in einer Group Ich möchte wenn ich auf das SpeedButton1 anklicke wird das Button Down aber wenn ich auf das SpeedButton noch einmal anklicke, dann soll UP (ohne auf das SpeedButton "OFF" drücken zu müssen") siehe Anhang |
Re: speedButton GroupIndex problem ?
Setz mal AllowAllUp der SpeedButtons auf True
[edit] ach ja, wenn [OFF] auch noch "down" werden soll, wenn sonst nix "down" ist, dann zusätzlich einfach noch allen SpeedButtons diese OnClick-Prozedur zuweisen
Delphi-Quellcode:
// 3 Buttons - und der 1. ist immer gedrückt, wenn sonst nix gedrückt ist
Procedure TForm1.SpeedButton1to3Click(Sender: TObject); Begin If not SpeedButton2.Down and not SpeedButton3.Down Then SpeedButton1.Down := True; End; |
Re: speedButton GroupIndex problem ?
Es hat doch geklappt mit AllowAllUp. Vielen Dank
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:20 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz