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.

See Also


- IsVisible