From RAD Studio API Documentation
Jump to: navigation, search


function DoCreateContent: Boolean;


bool __fastcall DoCreateContent();


Type Visibility Source Unit Parent
function protected
Web.DBWeb TDSTableProducer


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.

See Also