Sets the source text displayed in the dialog.

Syntax:

SetSourceText(SourceText As String)
Parameters: SourceText Source text to be displayed.

Example:
Dim Dlg As StringWidthDialog

Set Dlg = Application.Tools.RestypeEditors.StringWidthDialog

Call Dlg.SetSourceText("Source")
Call Dlg.SetTargetText("Target")

Dlg.Width = -1
Dlg.EnableWidthChecking = False

If (Dlg.Show) Then
    MsgBox "Changed Width"
End If

See also:

Class StringWidthDialog


Last Updated: 11/09/04