Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi viele viele Checkboxes (https://www.delphipraxis.net/1309-viele-viele-checkboxes.html)

Christian S. 18. Jul 2004 15:46

Re: viele viele Checkboxes
 
Hallo!

Oder so:
Delphi-Quellcode:
var temp : TNotifyEvent;
begin
  temp := myCheckbox.OnClick;
  myCheckbox.OnClick := nil;
  myCheckbox.Checked := not myCheckBox.Checked;
  myCheckBox.OnClick := temp;
end;
Spart einem das rumrödeln mit irgendwelchen Boolean-Variablen.

MfG
Peter


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:41 Uhr.
Seite 2 von 2     12   

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