DlgText (statement)

<< Click to Display Table of Contents >>

DlgText (statement)

DlgText "Name", Text

Sets the text of a dialog control in a custom dialog box.

This statement can be invoked from inside dialog functions.

The string Name is the name of the dialog control in the dialog box.

The string Text is the text to be set.

See also: DlgEnable, DlgVisible, section Dialog boxes

Example:

If ControlID$ = "Chk2" Then

 DlgText "t1", "Open"

End If