Important: You do not have the latest version of CIMPLICITY! You are missing out on the newest capabilities and enhanced security. For information on all the latest features, see the CIMPLICITY product page. For more information on upgrades, contact your GE Digital sales agent or e-mail GE Digital Sales Support. For the most up-to-date documentation, go here.
Msg.Text (property)
Syntax
Msg.Text [= newtext$]
Description
Changes the text within an open message dialog box (one that was previously opened with the Msg.Open method).
Comments
The message dialog box is not resized to accommodate the new text.
A runtime error will result if a message dialog box is not currently open (using Msg.Open).
Example
This example creates a modeless message box, leaving room in the message text for the record number. This box contains a Cancel button.
Sub Main()
Msg.Open "Reading Record",0,True,False
For i = 1 To 100
'Read a record here.
'Update the modeless message box.
Sleep 100
Msg.Text ="Reading record " & i
Next i
Msg.Close
End Sub