RSS

Вторник, 23.04.2024, 16:54
Главная » WoW API » API Виджеты » Фрейм прокрутки »

ScrollFrame:SetScrollChild(frame)

[ править ]
Sets the scroll child for the scroll frame.
[клоны]
Sets the scroll child for the scroll frame. The scroll child frame represents the (generally larger) area into which the scroll frame provides a (generally smaller) movable "window". The child must have an absolute size, set either by <AbsDimension> in XML or using both SetWidth() and SetHeight() in Lua.

Setting a frame's scroll child involves changing the child frame's parent -- thus, if the frame's scroll child is protected, this operation cannot be performed while in combat.


Signature:
Code
ScrollFrame:SetScrollChild(frame)

Arguments:
  • frame - Reference to another frame to be the ScrollFrame's child. (frame)

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