The text of the specified control.
Button, GroupBox, and Text controls
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. |
Select the control and set the value in the Properties view, General tab, Text option.
setting = dw1.Describe("text_1.Text")
dw1.Modify("text_1.Text='Employee &Name'")