Microsoft SDK for Java

DataGrid.setCaption

Sets the text displayed in the caption bar at the top of the grid.

Syntax

public void setCaption( String caption )

Parameters

caption

The caption text to be displayed. The default value of the caption property is an empty string.

Remarks

The caption is displayed above the column headers. If the caption property is set to an empty string, then the caption bar is not displayed.

See Also   getCaption

© 1999 Microsoft Corporation. All rights reserved. Terms of use.