RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterAction.IsDefaultAction Method

Indicates whether this adapter action should be added, by default, to the parent adapter.

Pascal
function IsDefaultAction(ADisplay: TObject): Boolean;
C++
__fastcall Boolean IsDefaultAction(TObject * ADisplay);

Some adapter components have built in support for specific types of adapter actions. These actions are often added to the adapter component by default unless the developer explicitly adds one or more adapter actions. IsDefaultAction is called by the adapter while adding default actions to determine whether this adapter action should be added. ADisplay identifies characteristics of the adapter component. IsDefaultAction calls ImplIsDefaultAction

 

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