DBAdapt.TCustomDataSetAdapterAction.OnGetEnabled
From RAD Studio API Documentation
Delphi
property OnGetEnabled: TActionGetEnabledEvent read FOnGetEnabled write FOnGetEnabled;
C++
__property Webadapt::TActionGetEnabledEvent OnGetEnabled = {read=FOnGetEnabled, write=FOnGetEnabled};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | public | DBAdapt.pas DBAdapt.hpp |
DBAdapt | TCustomDataSetAdapterAction |
Description
Occurs when the WebSnap application to determine whether a control or hyperlink for this action should be enabled.
Write an OnGetEnabled event handler to indicate whether a control or hyperlink that represents this event in an HTML form should be enabled. If the event handler sets the Enabled parameter to false, controls or hyperlinks for this action always appear disabled. If the event handler sets the Enabled parameter to true, the TCustomDataSetAdapterAction descendant determines whether controls and hyperlinks are enabled, based on its ability to perform its built-in task.