[SOLVED] TImage and it's descendants lazarus / 39-Graphics ---------------------------------------------------------------------- PatBayford · 2018-02-28 02:54 Does anybody have a reliable way to determine if a TImage, or any of it's descendants, actually contain graphical content? I've been ploughing through the methods, but can't seem to find anything. (I'm fairly sure I never solved this in Delphi either!!) ---------------------------------------------------------------------- taazz · 2018-02-28 03:35 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i function IsEmpty(aImage:TImage):Boolean;begin  Result := aImage.Picture.Graphic = nil;end; ---------------------------------------------------------------------- PatBayford · 2018-03-01 01:05 Thanks taazz - will try this later tonight (when I get my programming head on)!  Have now checked this and it seems to work fine - NOT tested exhaustively, but shouldbe good enough for my needs - thanks again taazz