RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterActionsListHelper.GetNewFieldPrefix Method

Returns the string that is used to start the names of all automatically-generated Web items.

Pascal
function GetNewFieldPrefix: string;
C++
__fastcall AnsiString GetNewFieldPrefix();

When the IDE adds new child Web items, it generates names of the components it adds. Because TAdapterActionsListHelper is specialized for controls that contain adapter action buttons, the names of those TAdapterActionButton components are generated by prepending the string that this method returns to the name of the action the button executes. 

GetNewFieldPrefix returns the string 'Cmd'. 

 

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