Specifying the Table Attributes

From RAD Studio
Jump to: navigation, search

Go Up to Representing a Dataset in HTML

Table producers use the Web.HTTPProd.THTMLTableAttributes object to describe the visual appearance of the HTML table that displays the records from the dataset. The THTMLTableAttributes object includes properties for the table's width and spacing within the HTML document, and for its background color, border thickness, cell padding, and cell spacing. These properties are all turned into options on the HTML <TABLE> tag created by the table producer.

At design time, specify these properties using the Object Inspector. Select the table producer object in the Object Inspector and expand the TableAttributes property to access the display properties of the THTMLTableAttributes object.

You can also specify these properties programmatically at run time.

See Also