ImageEn, unit iemview

TImageEnMView.GetImageVisibility

TImageEnMView.GetImageVisibility


Declaration

function GetImageVisibility(idx: Integer): Integer;


Description

Returns 0 if image, idx, is not visible, 1 if it's partially visible, or 2 if it's fully visible (i.e. not scrolled out of view).

Note:
 The result may not be valid if the control is not visible. Call Update() prior to IsVisible if you need to calculate for a non-visible control.
 Result will always be 0 for images that are filtered


See Also

 IsVisible
 ImageFiltered