...know if there is a bitmap in a TImage?

Author: Thomas Stutz

Category: Graphic

if (Image1.Picture.Bitmap.Empty) then
  
ShowMessage('No Image!') // 'Kein Bild vorhanden'


// For JPEG images:
// Bei JPEG Bildern:

if (Image1.Picture.Graphic = nilthen
   
ShowMessage('No Image!')

 

printed from
www.swissdelphicenter.ch
developers knowledge base