ComponentOne List 8.0 for ActiveX
Column and list captions

For Column objects, the Caption property specifies the text that appears in each column's header area.

If you are using True DBList in bound mode with an automatic layout, the column captions are set automatically at run time. At design time, you can use the Retrieve Fields context menu item to initialize the list layout according to the current RecordSource setting for the Data control to which the list is bound.

You can also set column captions at design time using the Columns property page, or at run time by manipulating the Columns collection in code. For more information, see Configuring Columns at Run Time.

The Caption property also applies to the TDBList control itself, which lets you provide a descriptive header for the entire list.

By default, True DBList displays headings for each column, even if you never set the Caption property of an individual column explicitly. However, you can hide all column headings by setting the ColumnHeaders property to False.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback