RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterLastRowAction.ImplWebEnabled Method

Provides the underlying implementation for the WebEnabled method.

Pascal
function ImplWebEnabled: Boolean; override;
C++
virtual __fastcall Boolean ImplWebEnabled();

The WebEnabled method calls ImplWebEnabled to determine whether the control or hyperlink for this action should appear enabled in the HTML form. WebEnabled returns true if controls should be enabled, false otherwise. 

ImplWebEnabled generates an OnGetEnabled event so that you can specify whether controls for this action are enabled. If there is no OnGetEnabled event handler, ImplWebEnabled returns true if the parent adapter's GetKeyFields method returns a set of fields that can locate records in the associated dataset. 

 

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