Text Property | ||||||
Applies to: Window object See also: Caption Property Returns or sets the text associated with a window. Syntax: object.Text The Text syntax has these parts:
Remarks: Under Microsoft Windows, any window can have an associated text string. For top-level windows or MdiChild windows, this string contains the caption displayed in the window's title bar. For other windows, such as command buttons and other controls, the associated text is the text displayed in the control. The Caption property and Text property are linked to the same underlying window property, so that setting the Caption property is equivalent to setting the Text property, and vice versa.
|