WoW:API ScrollingMessageFrame SetMaxLines: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated to match the current API boilerplate.)
No edit summary
Line 1: Line 1:
{{widgetmethod}} __NOTOC__
{{widgetmethod|ScrollingMessageFrame}}


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.


Sets the maximum number of lines stored in the MessageFrame's history and clears all lines in the frame.
  ScrollingMessageFrame:SetMaxLines(maxLines)
  ScrollingMessageFrame:SetMaxLines(maxLines)


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




== Returns ==
== Returns ==
:nil
:nil
== Details ==
Tested successfully with values up to a million.

Revision as of 20:27, 17 September 2013

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)

Arguments

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


Returns

nil

Details

Tested successfully with values up to a million.