RSS

Суббота, 27.04.2024, 03:29
Главная » WoW API » API Виджеты » Окно редактирования »

EditBox:SetMaxBytes(maxBytes)

[ править ]
Sets the maximum number of bytes of text allowed in the edit box.
[клоны]
Sets the maximum number of bytes of text allowed in the edit box. Attempts to type more than this number into the edit box will produce no results; programmatically inserting text or setting the edit box's text will truncate input to the maximum length.

Note: Unicode characters may consist of more than one byte each, so the behavior of a byte limit may differ from that of a character limit in practical use.


Signature:
Code
EditBox:SetMaxBytes(maxBytes)

Arguments:
  • maxBytes - Maximum number of text bytes allowed in the edit box, or 0 for no limit (number)

Также смотрите: Окно редактирования
Ссылки: http://wowprogramming.com/docs/widgets/EditBox/SetMaxBytes