Description

Gets or sets the text associated with the object.

Syntax

object.Text [ = String ]

Property Value

The text associated with the object.

Remarks

The Text property is used differently by each derived class. For example the Text property of a Form is displayed in the title bar at the top of the form, is fairly small in character count, and usually displays the application or document name. However, the Text property of a TextBox can be large and can include numerous nonvisual characters used to format the text. For example, the text displayed in a TextBox can be formatted by adjusting the Font property, or by the addition of spaces or tab characters to align the text.


The CHM file was converted to HTML by chm2web software.