EnsureVisible method (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int __fastcall EnsureVisible(int nIndex);

Delphi Syntax

Function EnsureVisible(nIndex: Integer): Integer;

Overview

Refer to Using the ImageList Control.

Remarks

Scrolls the items in the ImageList Control such that the item specified is completely visible.

See Also

Elements:

Item property, ScrollItems method, ScrollStyle property, Insert method

Topics:

Raster Images: Displaying Images