TdxBarManager.GetAllItemsByCategory(Integer,TList) Method
Populates a list with the items (both accessible and inaccessible to end-users) in a specified category and returns the number of items in this list.
Declaration
function GetAllItemsByCategory(ACategory: Integer; List: TList): Integer;
Parameters
Name | Type |
---|---|
ACategory | Integer |
List | TList |
Returns
Type |
---|
Integer |
Remarks
This function clears the list passed as the List parameter and then populates it with the items of the category specified by the ACategory parameter. The GetAllItemsByCategory function returns the number of items within the list. If the specified category does not exist, the function returns 0 and an empty list.
Call the bar manager’s GetItemsByCategory function to return only the items that are currently accessible to end-users in the specified category.
See Also