RowCount (ImageList Control) example for C++ Builder

long  LinesPerPage;

if( (LEADImgList1->ScrollStyle == SCROLLSTYLE_VERTICAL))
    LinesPerPage = LEADImgList1->RowCount / LEADImgList1->PageCount;
else
    LinesPerPage = LEADImgList1->ColumnCount / LEADImgList1->PageCount;