Returns/Sets the width of the string. If no width is defined yet, the width in the dialog can be set to -1.

Type Info:

Width As Long
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