RSS

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

EditBox:SetClampedToScreen(enable)

[ править ]
Sets whether the frame's boundaries should be limited to those of the screen.
[клоны]
Sets whether the frame's boundaries should be limited to those of the screen. Applies to user moving/resizing of the frame (via :StartMoving(), :StartSizing(), or title region); attempting to move or resize the frame beyond the edges of the screen will move/resize it no further than the edge of the screen closest to the mouse position. Does not apply to programmatically setting the frame's position or size.


Signature:
Code
Frame:SetClampedToScreen(enable)

Arguments:
  • enable - True to limit the frame's boundaries to those of the screen; false to allow the frame to be moved/resized without such limits (boolean)

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