RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuActionLink.SetOnExecute Method

Sets the execution event handler for a menu item if the client is linked to the action for this property.

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

SetOnExecute sets the appropriate execution event handler of a menu item, and is called only if the client is linked for this event. Value specifies the procedure that should be used for this event. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!