Text

Description

The text of the specified control.

Applies to

Button, GroupBox, and Text controls

Syntax

Describe and Modify argument:

"textname.Text { = ' string ' }"

Parameter

Description

textname

The name of a control in the DataWindow.

string

(exp) A string specifying the text for textname. To specify an accelerator key in the text, include an ampersand before the desired letter. The letter will display underlined. String is quoted and can be a DataWindow expression.

Usage


In the painter

Select the control and set the value in the Properties window, General category.

Examples

Example 1

[Visual Basic]
setting = dw1.Describe("text_1.Text")

dw1.Modify("text_1.Text='Employee &Name'")