RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterAction.WebEnabled Method

Indicates whether a button or hyperlink for this adapter action should be enabled on the HTML page.

Pascal
function WebEnabled: Boolean;
C++
__fastcall Boolean WebEnabled();

The state of the parent adapter may dictate when a button or hyperlink for a particular adapter action should not be enabled. For example, TDataSetAdapterPrevRowAction returns False when the dataset is positioned at BOF. WebEnabled calls ImplWebEnabled. Server-side script can access the value returned by WebEnabled using the Enabled property of an adapter action object. 

 

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