RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TURLAction Class

TURLAction is the base class for actions that perform some function based on an URL.

Pascal
TURLAction = class(TCustomAction);
C++
class TURLAction : public TCustomAction;

Use TURLAction as a base class when creating an action component that uses a Uniform Resource Locator (URL). TURLAction introduces the URL property to get or set the URL that it works with, but does not actually do anything with that URL. Rather, TURLAction descendants, such as TBrowseURL or TDownLoadURL, override the ExecuteTarget method to perform some operation that uses the value of the URL property. 

TURLAction automatically disables itself if the URL property has not been assigned. 

 

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