RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterAction.GetItemCount Method

Returns the number of commands defined by this adapter action.

Pascal
function GetItemCount: Integer; virtual;
C++
virtual __fastcall int GetItemCount();

An adapter action may have a list of commands. The TAdapterGotoPageAction is an example of an adapter action with a list of commands. Each command goes to a different page in the parent TPagedAdapter. GetItemCount returns 1. GetItemCount may be overridden by a descendant class. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!