RAD Studio VCL Reference
|
Indicates the number of items this list action represents.
property Count: Integer;
__property int Count;
Read Count to determine the number of items the list action supplies to client controls. This value provides an upper limit to the index that is supplied to the GetItem method or the Strings property in order to fetch individual items.
In TCustomListAction, the value of Count is supplied by the OnGetItemCount event handler. If there is no OnGetItemCount event handler, the value of Count is –1. Thus, a Count of –1 indicates that Count is not defined, as opposed to 0, which indicates that there are no items.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|