RSS

Вторник, 05.11.2024, 19:46
Главная » WoW API » API Виджеты » Фрейм »

EditBox:RegisterForDrag(...)

[ править ]
Registers the frame for dragging.
[клоны]
Registers the frame for dragging. Once the frame is registered for dragging (and mouse enabled), the frame's OnDragStart and OnDragStop scripts will be called when the specified mouse button(s) are clicked and dragged starting from within the frame (or its mouse-interactive area).


Signature:
Code
Frame:RegisterForDrag(...)

Arguments:
  • ... - A list of strings, each the name of a mouse button for which the frame should respond to drag actions (list)
      Button4
    • Button5
    • LeftButton
    • MiddleButton
    • RightButton

Также смотрите: Фрейм
Ссылки: http://wowprogramming.com/docs/widgets/Frame/RegisterForDrag