RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebAdapt.TActionGetEnabledEvent Type

TActionGetEnabledEvent is the type for event handlers on adapter action objects that are called when the action executes.

Pascal
TActionGetEnabledEvent = procedure (Sender: TObject; var Enabled: Boolean) of object;
C++
(Sender: TObject; var Enabled: Boolean) ( TActionGetEnabledEvent)();

TActionGetEnabledEvent is the type for event handlers that let you enable or disable controls that represent an adapter action. 

Sender is the object that represents the adapter action. 

Enabled returns true if the control for the action should be enabled in the current HTML form, false if it should be disabled. 

 

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