Hi,
just upgraded to V9.2.6 from V8.6.0. Not a biggy but now get an exception when closing down my app. I've created a TImageEnView component which never got loaded or used (depends what the user does) so there are no layers. When closing down I check if there are any layers to clear before destroying. Calls TImageEnView.GetLayersCount but fLayers is nil so get an exception.
if FIEViewRmtAnno.LayersCount > 0 then
begin
FIEViewRmtAnno.ClearAll;
end;
FreeAndNil( FIEViewRmtAnno );
function TImageEnView.GetLayersCount: integer;
begin
result := fLayers.Count;
end;
Suppose I could always add a default layer but just need to check fLayers is assigned in call.
thanks
Paul