Einzelnen Beitrag anzeigen

Dax
(Gast)

n/a Beiträge
 
#9

Re: 8 Bits zu CheckBoxen zuweisen - Ansatz gesucht

  Alt 11. Jun 2008, 22:51
Wie wärs damit?
Delphi-Quellcode:
for z := 0 to 7 do
  TCheckBox(Hauptform.FindComponent('SeSkinCheckBox' + IntToStr(z+1))).Checked := ((bit shr z) and 1) <> 0;
  Mit Zitat antworten Zitat