ComponentOne True DBInput Pro 8.0
Text Property (Caption)

 

Text Property (Caption)

Sets/returns the text to display as a caption.

Syntax

object.Text= string

Read/Write at run time and design time.

Values

Caption is the default.

Remarks

The Text property allows you to set character codes such as vbCr (Chr(13)), vbLf (Chr(10)), vbCrLf (Chr(13)+Chr(10)) within the text string at run time. For example:

With TDBDate.Caption

.Text = "Start Date:" & vbCr & "End Date:"

End With

This is the default property of the Caption object.

The horizontal and the vertical text alignment can be specified with the AlignHorizontal and AlignVertical properties.

See Also

WordWrap Property (Caption)

AlignHorizontal Property (Caption)

AlignVertical Property (Caption)

 

 


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

Product Support Forum  |  Documentation Feedback