ComponentOne List 8.0 for ActiveX
Caption Property (TDBCombo)

 

TDBCombo Reference> TDBCombo Control Properties> Caption Property (TDBCombo)

Caption Property (TDBCombo)

For a TDBList or TDBCombo control, this property determines the text displayed in the caption bar at the top of the control.

Syntax

object.Caption= string

Remarks

Read/Write at run time and design time.

Property applies to TDBList and TDBCombo controls, Column and Split objects.

For a Column or Split object, this property determines the text displayed in the object's heading area.

Setting the Caption property to an empty string for a control hides its caption bar.

Setting the Caption property to an empty string for a Split object hides the heading area, even if other splits have non-empty captions.

Setting the Caption property to an empty string for a Column object clears the text in the column's heading area but does not hide the heading. Column captions are only displayed if the control's ColumnHeaders property is set to True and the HeadLines property is not set to 0.

The Caption property is limited to 255 characters. Attempting to set the caption to more than 255 characters results in a trappable error.

See Also

TDBList and TDBCombo Controls

Column Object, Columns Collection

Split Object, Splits Collection

 

 


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

Product Support Forum  |  Documentation Feedback