RSS

Среда, 25.12.2024, 08:26
Главная » WoW API » API Виджеты » Окно редактирования »

EditBox:SetNumeric(enable)

[ править ]
Sets whether the edit box only accepts numeric input.
[клоны]
Sets whether the edit box only accepts numeric input. Note: an edit box in numeric mode only accepts numeral input -- all other characters, including those commonly used in numeric representations (such as ., E, and -) are not allowed.


Signature:
Code
EditBox:SetNumeric(enable)

Arguments:
  • enable - True to allow only numeric input; false to allow any text (boolean)

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