Web.DBWeb.TDSTableProducer.DoCreateContent
Delphi
function DoCreateContent: Boolean;
C++
bool __fastcall DoCreateContent();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | TDSTableProducer |
Description
Indicates whether the Content method should produce a string of HTML commands.
Applications cannot call this protected method. It is called internally by the Content method to allow the OnCreateContent event handler to block the creation of any HTML commands. If DoCreateContent returns True, Content assembles a string of HTML to describe the dataset. If DoCreateContent returns False, Content returns an empty string.
DoCreateContent calls the OnCreateContent event handler if one is assigned. If there is no OnCreateContent event handler, DoCreateContent returns True. Descendants of TDSTableProducer can override DoCreateContent to add additional restrictions on when the HTML describing DataSet should be produced, or to block the OnCreateContent event.