API:Vcl.StdCtrls.TCustomListBox.GetSelCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetSelCount: Integer; override;

C++

virtual int __fastcall GetSelCount();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomListBox

Description

Returns the value of the SelCount property.

Vcl.StdCtrls.TCustomListBox.GetSelCount inherits from Vcl.Controls.TCustomMultiSelectListControl.GetSelCount. All content below this line refers to Vcl.Controls.TCustomMultiSelectListControl.GetSelCount.

Returns the value of the SelCount property.

Override GetSelCount to provide the read implementation for the SelCount property. GetSelCount returns the number of items that are currently selected.

See Also