function TCustomListBox.GetCount: Integer;
begin
  if Style in [lbVirtual, lbVirtualOwnerDraw] then
    Result := FCount
  else
    Result := Items.Count;
end;

 

 posted on 2015-06-07 17:57  宝兰  阅读(184)  评论(0)    收藏  举报