RSS

Вторник, 05.11.2024, 16:40
Главная » WoW API » API Виджеты » Окно редактирования »

EditBox:SetHistoryLines(count)

[ править ]
Sets the maximum number of history lines stored by the edit box.
[клоны]
Sets the maximum number of history lines stored by the edit box. Lines of text can be added to the edit box's history by calling :AddHistoryLine(); once added, the user can quickly set the edit box's contents to one of these lines by pressing the up or down arrow keys. (History lines are only accessible via the arrow keys if the edit box is not in multi-line mode.)


Signature:
Code
EditBox:SetHistoryLines(count)

Arguments:
  • count - Maximum number of history lines to be stored by the edit box (number)

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