RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBasicAction.SetOnExecute Method

Assigns an OnExecute event handler.

Pascal
procedure SetOnExecute(Value: TNotifyEvent); virtual;
C++
virtual __fastcall SetOnExecute(TNotifyEvent Value);

SetOnExecute is the property write method for the OnExecute event. In addition to assigning the value of OnExecute, SetOnExecute propagates the event handler to all client objects and generates an OnChange event. 

 

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