WoW:API ScrollingMessageFrame SetMaxLines: Difference between revisions
Jump to navigation
Jump to search
(Updated to match the current API boilerplate.) |
m (Move page script moved page API ScrollingMessageFrame SetMaxLines to API ScrollingMessageFrame SetMaxLines without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{widgetmethod}} | {{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. | |||
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. |
Latest revision as of 04:47, 15 August 2023
← 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[edit]
- maxLines
- Number - The maximum number of lines to be stored in the message frame's history.
Returns[edit]
- nil
Details[edit]
Tested successfully with values up to a million.