RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterActionsListHelper.AddDefaultActions Property

Indicates whether the display control represents all of the adapter's default actions if you do not explicitly add items to its WebFieldControls property.

Pascal
property AddDefaultActions: Boolean;
C++
__property Boolean AddDefaultActions;

AddDefaultCommands determines what controls appear in the generated set of HTML controls if you do not explicitly add any adapter action buttons to the WebFieldControls property of the component that uses this TAdapterActionsListHelper. When AddDefaultCommands is true (the default), the associated component automatically adds controls for every default action of its adapter when you do not explicitly set the WebFieldControls property. When AddDefaultCommands is false, the associated component only generates controls if you explicitly add them to the WebFieldControls property. AddDefaultCommands must be false to allow an empty column. 

 

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