Forum: Sonstige Fragen zu Delphi
Delphi
by himitsu,
22. Apr 2004
Es sollte ja mit Graphic funktionieren, aber es macht es halt nicht.
Aber Bitmap (image1.Picture.Bitmap.Empty) geht's doch schließlich auch, da ja BitMap in den 2 Image's drin sind ;)
Forum: Sonstige Fragen zu Delphi
Delphi
by himitsu,
21. Apr 2004
OK, dann aber nochmehr ;)
if image1.Picture.Bitmap.Empty
then if weissamzug then Image1.Picture:=Imagewhite.Picture
else Image1.Picture:=Imageblack.Picture;
Forum: Sonstige Fragen zu Delphi
Delphi
by himitsu,
21. Apr 2004
Ich weiß auch nicht, warum es nicht geht :gruebel:
aber mit image1.Picture.Bitmap.Empty geht's:
if (weissamzug=true) and (image1.Picture.Bitmap.Empty=true)
then Image1.Picture:=Imagewhite.Picture
else if (weissamzug=false) and (image1.Picture.Bitmap.Empty=true)
then Image1.Picture:=Imageblack.Picture;
etwas gekürztif weissamzug and image1.Picture.Bitmap.Empty
then...