Programming Reference Manual
 
Syntax
 
InputMultiLineBox[$](Prompt$[, Title$][, Default$][, XPos, YPos][, HelpFile, Context])
 
Description
Display an TRADIUM styled input box where the user can enter multiple lines of text. Pressing the OK button returns the string entered. Pressing the Cancel button returns a null string.
 
Parameter
Description
Prompt$ 
Use this string value as the prompt in the input box.
Title$ 
Use this string value as the title of the input box. If this is omitted then the input box does not have a title.
Also, alternate captions for the button(s) can be used by adding a vertical bar sign ("|") and a caption for each button.
Default$ 
Use this string value as the initial value in the input box. Multiple lines of text must be separated by a vbNewLine symbol.
XPos 
When the dialog is put up the left edge will be at this screen position. If this is omitted then the dialog will be centered.
YPos 
When the dialog is put up the top edge will be at this screen position. If this is omitted then the dialog will be centered.
HelpFile
For use with compiled .hlp files. Specify path and filename.
Context
For use with compiled .hlp files. specify the context ID for context sensitive help functions when pressing F1.
See Also
Example
 
Sub Main
   L$ = InputMultiLineBox$("Enter some text:", _
           "Input Box Example|Allright|Never", "abc" & vbNewLine & "def")
    Debug.Print L$
End Sub