RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebDispatcher.ActionByName Method

Returns the action item identified by the AName parameter.

Pascal
function ActionByName(const AName: string): TWebActionItem;
C++
__fastcall TWebActionItem ActionByName(const AnsiString AName);

Call ActionByName to gain access to an individual action item when its name is known. Change the properties of the action item so that it handles different HTTP request messages, or invoke its OnAction event handler to respond to an HTTP request message. 

 

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