DlgScrollingText.AppendLine

DlgScrollingText.AppendLine ( 

number  ControlID,

string  Line = "",

boolean AddNewLine = true,

boolean ScrollToEnd = true )

Example 1

DlgScrollingText.AppendLine(CTRL_SCROLLTEXT_BODY, "I agree to the above terms.", true, false);

Appends the text "I agree to the above terms" to the end of the scrolling text control.

Example 2

DlgScrollingText.AppendLine(nControlID, sLineToAdd, true, true);

Appends the text stored in string 'sLineToAdd' to the end of the scrolling text control referenced in the variable 'nControlID'. The control is set to scroll to the bottom once the new text is appended.

See also:  Related Actions