CurrentPage property (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int CurrentPage

Delphi Syntax

CurrentPage : Integer

Overview

Refer to Using the Image List Control.

Remarks

Gets the number of the currently visible page of items in the ImageList Control.

This will return the highest visible page number in the ImageList Control. Pages are calculated using the total number of rows or columns (depending on the scroll style) and the total number of rows or columns (depending on the scroll style) that are completely visible in the ImageList Control's client area. A page is not visible unless its first row/column is completely visible.

See Also

Elements:

PageCount property, Insert method, Remove method, RowCount property, ColumnCount property, Count property, Clear method, Item property, ScrollItems method

Topics:

Raster Images: Displaying Images