RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterAction Class

TAdapterAction is a generic adapter action that relies on event handlers.

Pascal
TAdapterAction = class(TCustomAdapterAction);
C++
class TAdapterAction : public TCustomAdapterAction;

TAdapterAction publishes the properties in TCustomAdapterAction. TCustomAdapterAction calls event handlers to retrieve the adapter action's parameters, get the state of the action, and execute the adapter action. Add TAdapterAction to TAdapter or other adapter components types when you need an adapter action that will be controlled by event handlers. Other adapter action components declare events but also have built-in logic to work with a particular type of adapter. For example, TAdapterNextPageAction has built-in logic to take the end user to the next page provided by TPagedAdapter. TAdapterAction, on the other hand, does not have this sort of built-in logic. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!