RAD Studio VCL Reference
|
Indicates whether the Content method should produce a string of HTML commands.
function DoCreateContent: Boolean;
__fastcall Boolean DoCreateContent();
Applications can't 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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|