Widget API: ScrollingMessageFrame:SetMaxLines

Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API ScrollingMessageFrame SetMaxLines to API ScrollingMessageFrame SetMaxLines without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget API ← ScrollingMessageFrame < SetMaxLines

Set the maximum number of lines, and resets the messages already displayed within the frame. The maximum number of lines are all the lines in the MessageFrame's history, not just the currently displayed lines.

ScrollingMessageFrame:SetMaxLines(maxLines)

ArgumentsEdit

maxLines
Number - The maximum number of lines to be stored in the message frame's history.


ReturnsEdit

nil

DetailsEdit

Tested successfully with values up to a million.