Sets the button's label text using format specifiers. Equivalent to :SetText(format(format, ...)), but does not create a throwaway Lua string object, resulting in greater memory-usage efficiency.

Signature:

Button:SetFormattedText("formatString", ...)

Arguments:

  • formatString - A string containing format specifiers (as with string.format()) (string)
  • ... - A list of values to be included in the formatted string (list)