Command Line

Command SETTEXT

Function:

Set the caption of a dialog box or the text for a dialog box item.
Syntax:
SETTEXT dlg_id [id] "string"
dlg_idSpecifies the identifier of the dialog box that contains the item.
idSpecifies the identifier of the item.
stringA sequence of characters.
Note:
  • The text for any type of item (that has a caption or text) may be set. For example, a list box requires the use of the LBSET command to the current selection in a list box.
  • When parameter id is not specified then the caption of the dialog box is set to the specified text.
  • Also see command GETTEXT.

Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc